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?
1 修改 /etc/docker/daemon.json 文件内容
正确的内容
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
2 修改后重启 docker
systemctl restart docker
3 参考 docker中文网站
手打不容易,如果满意请点赞,赞一毛钱的