问题描述:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
首次安装docker后,服务没有自启动
解决方案:
查看docker状态
1 service docker status
设置开启Linux时docker自启动
1 systemctl enable docker
然后重启虚拟机即可解决问题。
ps:参考Docker启动失败,报错Cannot connect to the Docker daemon at unix:///var/run/docker 完美解决方案_請你喝杯Java的博客-CSDN博客
标签:daemon,run,unix,报错,connect,docker,Docker From: https://www.cnblogs.com/freshfresh/p/17778639.html