用法
bash
# new group
sudo groupadd docker
# Adding user to group docker
sudo gpasswd -a ${USER} docker
# or
sudo usermod -aG docker ${USER}
# rw
sudo chmod a+rw /var/run/docker.sock
#
sudo service docker restart