Docker容器启动失败 Failed to start Docker Application Container Engine. 的解决办法

systemctl start docker.service启动docker时报以下错误:

Failed to start Docker Application Container Engine.

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Docker容器启动失败 Failed to start Docker Application Container Engine. 的解决办法_第1张图片

1 修改   /etc/docker/daemon.json  文件内容

正确的内容

{
    "registry-mirrors": ["https://registry.docker-cn.com"]
}

2 修改后重启 docker  

systemctl restart docker

3 参考 docker中文网站 

 

手打不容易,如果满意请点赞,赞一毛钱的

Docker容器启动失败 Failed to start Docker Application Container Engine. 的解决办法_第2张图片

 

 

 

 

 

你可能感兴趣的:(docker)