Created
October 31, 2016 17:30
-
-
Save kragniz/ec8320f6f99e7bad484650991d63fbaf to your computer and use it in GitHub Desktop.
Remove all docker images from a machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker ps --all | tail -n +2 | cut -d' ' -f1 | xargs docker rm -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment