Last active
May 23, 2019 15:33
-
-
Save pixelmord/f39d71096cc4824ff25539cc12c1cc47 to your computer and use it in GitHub Desktop.
[docker commands] Useful docker commands #docker #cli
This file contains 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
# @see https://medium.com/the-code-review/top-10-docker-commands-you-cant-live-without-54fb6377f481 | |
# kill all running containers with | |
docker kill $(docker ps -q) | |
# delete all stopped containers with | |
docker rm $(docker ps -a -q) | |
# delete all images with | |
docker rmi $(docker images -q) | |
# list all running processes | |
docker ps -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment