Skip to content

Instantly share code, notes, and snippets.

@repejota
Created November 28, 2015 20:59
Show Gist options
  • Save repejota/fe0a8ef83c41632c3c2e to your computer and use it in GitHub Desktop.
Save repejota/fe0a8ef83c41632c3c2e to your computer and use it in GitHub Desktop.
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment