Last active
January 4, 2016 16:49
-
-
Save spudfkc/8649919 to your computer and use it in GitHub Desktop.
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
| # SOURCE: http://www.ludeke.net/2013/12/run-docker-commands-without-sudo.html | |
| # 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. | |
| # this may be called docker.io if on Ubuntu 14.04 | |
| sudo service docker restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment