docker安装后出现Cannot connect to the Docker daemon.
程序员文章站
2022-09-04 22:11:24
Cannot connect to the Docker daemon. Is the docker daemon running on this host? 原因: 没有启动docker服务 service docker start 效果: docker stop showdoc # 停止容器 d ......
cannot connect to the docker daemon. is the docker daemon running on this host?
原因: 没有启动docker服务
service docker start
效果:
docker stop showdoc # 停止容器
docker restart showdoc #重启showdoc容器
docker rm showdoc #删除showdoc容器
docker rmi star7th/showdoc #删除showdoc镜像
docker stop $(docker ps -a -q) ;docker rm $(docker ps -a -q) ; #停止并删除所有容器。危险命令,不懂勿用。
下一篇: 我们睡前哪有时间讲故事
推荐阅读
-
ubuntu vps安装docker报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock.问题解决
-
centos7安装docker后运行出现Cannot find a valid baseurl for repo: base/7/x86_64 错误,怎么解决?
-
Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法
-
docker安装后出现Cannot connect to the Docker daemon.
-
ubuntu vps安装docker报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock.问题解决
-
centos7安装docker后运行出现Cannot find a valid baseurl for repo: base/7/x86_64 错误,怎么解决?
-
docker安装后出现Cannot connect to the Docker daemon.
-
Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法