错误信息
[root@hadoop03 yaml]# docker-compose up -d
Creating zcbusrestapi ...
Creating zcbusdb ... error
Creating zcbuszookeeper ...
Creating zcbusrestapi ... done
Creating zcbuszookeeper ... done
Creating zcbusvue ... done
Creating zcbuskafka ... done
ERROR: for zcbusdb Cannot create container for service zcbusdb: b'error creating overlay mount to /data/docker02/zcbusdata/overlay2/7a2c2741d6b1893c2c67a66bb00e90289a18e5bfb8f8bf921527959680e2f976-init/merged: no such file or directory'
ERROR: Encountered errors while bringing up the project.
[root@hadoop03 yaml]#
[root@hadoop03 yaml]# docker-compose up -d
zcbusrestapi is up-to-date
zcbusvue is up-to-date
zcbuszookeeper is up-to-date
zcbuskafka is up-to-date
Creating zcbusdb ... error
ERROR: for zcbusdb Cannot create container for service zcbusdb: b'error creating overlay mount to /data/docker02/zcbusdata/overlay2/19fd9a10e016dacf5062971ac0aa96a21ea091acd0a1cf7233e79d6a33ced738-init/merged: no such file or directory'
ERROR: for zcbusdb Cannot create container for service zcbusdb: b'error creating overlay mount to /data/docker02/zcbusdata/overlay2/19fd9a10e016dacf5062971ac0aa96a21ea091acd0a1cf7233e79d6a33ced738-init/merged: no such file or directory'
ERROR: Encountered errors while bringing up the project.
docker驱动参数问题
[root@hadoop03 simple_server]# vi /etc/systemd/system/docker.service
ExecStart=/usr/bin/dockerd –storage-driver=overlay –selinux-enabled=false –graph=/data/docker02/zcbusdata
- 注意添加–storage-driver参数
文档更新时间: 2022-12-27 21:17 作者:阿力