Last active
August 27, 2018 07:59
-
-
Save florianroulet/2dcf484231294ce689b1fa7e48f00be5 to your computer and use it in GitHub Desktop.
docker in snap SuperUser persmission
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add the docker group | |
sudo groupadd docker | |
# add the group to your user | |
sudo gpasswd -a ${USER} docker | |
# restart the docker daemon | |
sudo service docker restart # Or docker.io for older versions | |
# 18.04+ with snap: | |
sudo systemctl restart snap.docker.dockerd | |
# log off and log on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment