Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Last active June 16, 2022 19:59
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jonathanconway/ef1674cc426cac3fa5f5795e9649c4cb to your computer and use it in GitHub Desktop.
Save jonathanconway/ef1674cc426cac3fa5f5795e9649c4cb to your computer and use it in GitHub Desktop.
Nuke all docker images and containers ☢️
#!/bin/bash
docker rm --force $(docker ps --all -q)
docker rmi --force $(docker images --all -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment