docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon run
Centos7.x 执行 docker 时报如下错误
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon run
配置 DOCKER_HOST
sudo vim /etc/profile.d/docker.sh
内容:export DOCKER_HOST=tcp://l...
原创
2019-04-16 09:55:01 ·
303 阅读 ·
0 评论