Skip to content

Instantly share code, notes, and snippets.

@GiriB
Created August 17, 2016 15:00
Show Gist options
  • Save GiriB/7d87c770bc759ce1ce3e678e4d0ddd86 to your computer and use it in GitHub Desktop.
Save GiriB/7d87c770bc759ce1ce3e678e4d0ddd86 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