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

时间:2024-05-23 21:02:07

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 修改   /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. 的解决办法