Skip to content

Instantly share code, notes, and snippets.

@aluedeke
Last active January 10, 2017 19:39
Show Gist options
  • Save aluedeke/7977839 to your computer and use it in GitHub Desktop.
Save aluedeke/7977839 to your computer and use it in GitHub Desktop.
docker without sudo
# Add the docker group if it doesn't already exist.
sudo groupadd docker
# Add the connected user "${USERNAME}" 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 ${USERNAME} docker
# Restart the docker daemon.
sudo service docker restart
@miqui
Copy link

miqui commented Mar 21, 2016

..thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment