Skip to content

Instantly share code, notes, and snippets.

@pixelmord
Last active May 23, 2019 15:33
Show Gist options
  • Save pixelmord/f39d71096cc4824ff25539cc12c1cc47 to your computer and use it in GitHub Desktop.
Save pixelmord/f39d71096cc4824ff25539cc12c1cc47 to your computer and use it in GitHub Desktop.
[docker commands] Useful docker commands #docker #cli
# @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