Error response from daemon: error creating overlay mount to xxx merged: invalid argument 正确处理
(docker centos7)pull zookeeper 问题回溯我们在执行#docker pull wurstmeister/zookeeper Digest: sha256:6614ee2dbffdfd56a77285451decc512260928d293631c279d55333d2a207e95Status: Downloaded newer image for docker.io/
·
(docker centos7)pull
zookeeper 问题回溯
我们在执行#
docker pull wurstmeister/zookeeper
Digest: sha256:6614ee2dbffdfd56a77285451decc512260928d293631c279d55333d2a207e95
Status: Downloaded newer image for docker.io/zookeeper:latest
/usr/bin/docker-current: Error response from daemon:
error creating overlay mount to /var/lib/docker/overlay2/d59b250eebf427a7bbd36dd1a834a969 196589187a77720e0148985ddae6ce13-init/merged: invalid argument.
See '/usr/bin/docker-current run --help'.
wurstmeister/zookeeper用的overlay2文件系统,而系统默认只能识别overlay文件系统
更新文件系统
1 systemctl stop docker
2 rm -rf /var/lib/docker #会删除docker images
3 vi /etc/sysconfig/docker-storage
指定 DOCKER_STORAGE_OPTIONS="--storage-driver overlay"
4 vi /etc/sysconfig/docker
#OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false'
改为
OPTIONS='--log-driver=journald --signature-verification=false'
5 systemctl start docker
6 重新docker pull wurstmeister/zookeeper
7 docker images
的确有效!
更多推荐
已为社区贡献2条内容
所有评论(0)