Skip to content

Instantly share code, notes, and snippets.

@ypolosov
Created September 8, 2017 07:17
Show Gist options
  • Save ypolosov/5c10e3d1c28f8e325c6f00cbb4bf0f00 to your computer and use it in GitHub Desktop.
Save ypolosov/5c10e3d1c28f8e325c6f00cbb4bf0f00 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Delete all containers
docker rm -f $(docker ps -a -q)
# Delete all images
docker rmi -f $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment