Created
September 5, 2019 01:36
-
-
Save richardjortega/2da4f1e956e658ee868b282a096ed385 to your computer and use it in GitHub Desktop.
Docker without sudo
This file contains 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
# 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