Created
November 29, 2018 01:24
-
-
Save olivx/4a3e4e879d38d7d90e8fa727259af7cd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 1. Create the docker group. | |
$ sudo groupadd docker | |
# 2. Add your user to the docker group. | |
$ sudo usermod -aG docker $USER | |
# 3. Log out and log back in so that your group membership is re-evaluated. | |
# 4. Verify that you can run docker commands without sudo. | |
$ docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment