Skip to content

Instantly share code, notes, and snippets.

@fukaoi
Created January 18, 2018 01:25
Show Gist options
  • Save fukaoi/f26acd8e2fd88244936572137528038e to your computer and use it in GitHub Desktop.
Save fukaoi/f26acd8e2fd88244936572137528038e to your computer and use it in GitHub Desktop.
All delete container files
#!/bin/bash
docker ps -a | awk '/[a-z0-9]+/ {print $1}' | xargs docker rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment