報錯内容如下
Get http:///var/run/docker.sock/v1.18/images/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
解決辦法
route del -net 172.16.0.0 netmask 255.240.0.0
或者
一般會在 /etc/sysconfig/docker
修改other_args=這一行為:other_args=-bip=192.168.100.1/24
儲存退出
本文轉自wangfeng7399 51CTO部落格,原文連結:http://blog.51cto.com/wangfeng7399/1685349,如需轉載請自行聯系原作者