Skip to content

Instantly share code, notes, and snippets.

@richardjortega
Created September 5, 2019 01:36
Show Gist options
  • Save richardjortega/2da4f1e956e658ee868b282a096ed385 to your computer and use it in GitHub Desktop.
Save richardjortega/2da4f1e956e658ee868b282a096ed385 to your computer and use it in GitHub Desktop.
Docker without sudo
# The docker group grants privileges equivalent to the root user
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment