赞
踩
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
在安装好docker之后,我们在虚拟机中查看docker版本及详细信息
输入:docker version,发现并没有docker运行信息
继续输入:docker images ,查看相应镜像,发现也报错:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
说明docker本身已经安装好,但是docker服务没有启动
此时可以输入:service docker start ,启动docker服务
成功启动之后,再次输入docker version,可以查看到详细信息。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。