运行hello-world 出现如下报错:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
多方查找,解决如下:
sudo su - //切换到root
service docker start //启动docker service
docker images //显示所有images
docker run hello-world //重新运行
Hello from Docker!
This message shows that your installation appears to be working correctly.