Created
January 24, 2022 09:41
-
-
Save thoughtful-solutions/ccd0785e551f3649c9360a6a710158aa to your computer and use it in GitHub Desktop.
docker-quick-ref
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
## to build a container | |
''' | |
docker build . -t test | |
''' | |
## to run a container | |
''' | |
docker run --rm -ir --entrypoint bash test | |
''' | |
## to delete zombine containers | |
''' | |
dokcer rm $(docker ps -a -q) | |
''' | |
## to delete images | |
''' | |
docker image rm xxxxxx | |
'''' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment