Skip to content

Instantly share code, notes, and snippets.

@vicneanschi
Created February 6, 2018 20:35
Show Gist options
  • Save vicneanschi/fd5a8127f306dc9948a61cd4b83ce883 to your computer and use it in GitHub Desktop.
Save vicneanschi/fd5a8127f306dc9948a61cd4b83ce883 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