赞
踩
service docker start
如果出现
[root@localhost 桌面]# service docker start
Starting docker (via systemctl): Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details. [失败]
则有可能是防火墙开启的原因,可先关闭防火墙:
service firewalld stop
docker run hello-world
出现错误
“Cannot connect to the Docker daemon. Is 'docker -d' running on this host?”
网上找到解决方式:http://blog.csdn.net/xu470438000/article/details/43704469
执行:yum upgrade device-mapper-libs
再次执行:docker run hello-world
INFO[0211] POST /v1.19/containers/create
ERRO[0211] Handler for POST /containers/create returned error: No such image: hello-world (tag: latest)
ERRO[0211] HTTP Error
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。