Skip to content

Instantly share code, notes, and snippets.

@aleguerra05
Last active September 6, 2019 19:02
Show Gist options
  • Save aleguerra05/f9acecc776bd673313f30a44f44221fc to your computer and use it in GitHub Desktop.
Save aleguerra05/f9acecc776bd673313f30a44f44221fc to your computer and use it in GitHub Desktop.
Some docker tricks
# Docker service start on boot
sudo systemctl enable docker
#check Docker status
sudo systemctl status docker
#remove untagged images
docker rmi $(docker images -f "dangling=true" -q)
@aleguerra05
Copy link
Author

#add SSL of repo
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment