Skip to content

Instantly share code, notes, and snippets.

@dclucas
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save dclucas/a11834aa73bb26560753 to your computer and use it in GitHub Desktop.

Select an option

Save dclucas/a11834aa73bb26560753 to your computer and use it in GitHub Desktop.
################## Installing Docker ##################
# https://docs.docker.com/installation/ubuntulinux/
curl -sSL https://get.docker.com/ubuntu/ | sudo sh
#### Configuring docker to run without sudo
# http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo
## 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.
sudo gpasswd -a ${USER} docker
## Restart the Docker daemon:
sudo service docker restart
## activate the changes to groups.
newgrp docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment