Skip to content

Instantly share code, notes, and snippets.

@albertorm95
Last active January 24, 2018 14:58
Show Gist options
  • Save albertorm95/0be28fb19e6cebabffc40ede0a0c6fc1 to your computer and use it in GitHub Desktop.
Save albertorm95/0be28fb19e6cebabffc40ede0a0c6fc1 to your computer and use it in GitHub Desktop.
This is how to add a User to be able to use Docker without sudo.
sudo groupadd docker
sudo chown root:docker /var/run/docker.sock
sudo usermod -aG docker ${YOUR_USER_NAME}
log out and then log in again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment