Docker安装后报错:docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

安装Docker以后执行 docker run hello-world 进行测试

结果报错如下:

 

 

 

解决办法:

  # systemctl daemon-reload

  # sudo service docker restart

  # sudo service docker status 确认docker正常启动

  

 

   # docker run hello-world

  

 

   至此已经成功

posted on 2020-05-27 00:48  小小阳阳1994  阅读(531)  评论(0编辑  收藏  举报

导航