Created
April 29, 2019 21:06
-
-
Save learntheropes/e64f303532c985e41884864d47c4ac7a to your computer and use it in GitHub Desktop.
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
sudo /etc/init.d/docker status | |
#Create new docker group (in case the previous one is not exist) | |
sudo groupadd docker | |
#groupadd: group ‘docker’ already exists | |
#add your current logged in user t the docker group | |
sudo usermod -aG docker $USER | |
#Restart docker daemon / service | |
sudo service docker restart | |
#re-login your current user | |
su ${USER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment