docker安装后出现Cannot connect to the Docker daemon

启动docker
service docker start
docker安装后出现Cannot connect to the Docker daemon
You need to add user into docker group. by 'sudo gpasswd -a xxxx docker' (xxx is your user name)
Then restart your computer
This problem should be solved
原文地址:https://www.cnblogs.com/freescience/p/7272011.html