Skip to content

Instantly share code, notes, and snippets.

@thoughtful-solutions
Created January 24, 2022 09:41
Show Gist options
  • Save thoughtful-solutions/ccd0785e551f3649c9360a6a710158aa to your computer and use it in GitHub Desktop.
Save thoughtful-solutions/ccd0785e551f3649c9360a6a710158aa to your computer and use it in GitHub Desktop.
docker-quick-ref
## 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