美文网首页
运行docker报错:Cannot connect to the

运行docker报错:Cannot connect to the

作者: 一位先生_ | 来源:发表于2019-11-06 16:59 被阅读0次

运行docker报错:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
-bash: Cannot: command not found

解决办法:

$ systemctl daemon-reload
$ sudo service docker restart
$ sudo service docker status (should see active (running))
$ sudo docker run hello-world

相关文章

网友评论

      本文标题:运行docker报错:Cannot connect to the

      本文链接:https://www.haomeiwen.com/subject/qqzubctx.html