Skip to content

Instantly share code, notes, and snippets.

@learntheropes
Created April 29, 2019 21:06
Show Gist options
  • Save learntheropes/e64f303532c985e41884864d47c4ac7a to your computer and use it in GitHub Desktop.
Save learntheropes/e64f303532c985e41884864d47c4ac7a to your computer and use it in GitHub Desktop.
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