Created
December 15, 2019 13:33
-
-
Save henrycunh/a4df293ebfecfd266048cd825b20ba8f to your computer and use it in GitHub Desktop.
Docker Fish Bonanza
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 dps | |
docker ps $argv | |
end | |
function dls | |
docker images $argv | |
end | |
function dstop | |
docker stop (docker ps -q) | |
end | |
function dcleanup | |
docker rm (docker ps -qa -f status=exited) | |
end | |
function dcleanup-images | |
docker rmi (docker images -q -f dangling=true) | |
end | |
function dcleanup-all | |
docker system prune -a | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment