当前位置: 移动技术网 > 科技>操作系统>Linux > docker安装后出现Cannot connect to the Docker daemon.

docker安装后出现Cannot connect to the Docker daemon.

2020年04月03日  | 移动技术网科技  | 我要评论

cannot connect to the docker daemon. is the docker daemon running on this host?

 

原因: 没有启动docker服务

service docker start

效果:

 

 

  1. docker stop showdoc # 停止容器
  2. docker restart showdoc #重启showdoc容器
  3. docker rm showdoc #删除showdoc容器
  4. docker rmi star7th/showdoc #删除showdoc镜像
  5. docker stop $(docker ps -a -q) ;docker rm $(docker ps -a -q) ; #停止并删除所有容器。危险命令,不懂勿用。

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网