Created
November 5, 2018 13:10
-
-
Save mill5james/08b5e2add6951bc1f52f18fcee7c8cfe to your computer and use it in GitHub Desktop.
Docker helpers
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
function Clean-DockerImages { | |
docker images -q | % { docker rmi -f $_ } | |
} | |
function Stop-DockerContainers { | |
docker ps -a -q | % { docker rm -f $_ } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment