Ubuntu

2017-11-19  本文已影响0人  panyongde

curl -sSL https://get.daocloud.io/docker | sh

Solution (from https://docs.docker.com/engine/installation/linux/debian/, does not only work with Debian):

Add the docker group if it doesn't already exist.
sudo groupadd docker

Add the connected user "${USER}" to the docker group.
Change the user name to match your preferred user.
You may have to logout and log back in again for
this to take effect.
sudo gpasswd -a ${USER} docker

Restart the Docker daemon.
sudo service docker restart

上一篇下一篇

猜你喜欢

热点阅读