Last active
August 23, 2017 02:51
-
-
Save MarkTiedemann/9d7b23842014c56549055494b2bcce0e to your computer and use it in GitHub Desktop.
Remove all docker containers and images in Powershell
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
(docker ps -q -a).split('\n') | % { docker rm $_ } | |
(docker images -q -a).split('\n') | % { docker rmi $_ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment