Skip to content

Instantly share code, notes, and snippets.

@vidux
Created December 27, 2020 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vidux/c4a3be27c47e3b8bce3d3fccdea818a3 to your computer and use it in GitHub Desktop.
Save vidux/c4a3be27c47e3b8bce3d3fccdea818a3 to your computer and use it in GitHub Desktop.
docker basics -install and permmsions
#install docker
sudo apt install docker docker-compose
sudo groupadd docker
#assign currentr user to docker
sudo usermod -aG docker $USER
newgrp docker
#now you should able to run docker commands without sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment