Skip to content

Instantly share code, notes, and snippets.

@ShX
Forked from aluedeke/gist:7977839
Created September 30, 2014 12:39
Show Gist options
  • Select an option

  • Save ShX/103a029717b7b3518129 to your computer and use it in GitHub Desktop.

Select an option

Save ShX/103a029717b7b3518129 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment