Last active
September 6, 2019 19:02
-
-
Save aleguerra05/f9acecc776bd673313f30a44f44221fc to your computer and use it in GitHub Desktop.
Some docker tricks
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
# 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#add SSL of repo
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -