systemctl restart docker.service
下载Ubuntu镜像
docker pull ubuntu启动容器,出现下面警告
[root@linux-node1 sysconfig]# docker run -i -t ubuntu /bin/bash
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.解决方法:vim /etc/sysconfig/docker-storage,添加下面的一句话
DOCKER_STORAGE_OPTIONS=”–storage-opt dm.no_warn_on_loop_devices=true”
您可能感兴趣的文章:详解docker pull 下来的镜像文件存放的位置Docker for windows pull镜像文件的安装位置改变的方法解决docker pull镜像速度慢的问题的方法










