Created
April 19, 2019 19:22
-
-
Save phenixita/6b3b65e58cf19ff38d9e4f44e6f79a54 to your computer and use it in GitHub Desktop.
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
::dcp::docker container prune | |
Return | |
::dvp::docker volume prune | |
Return | |
::dip::docker image prune | |
Return | |
::dsp::docker system prune | |
Return | |
::drmc:: | |
( | |
docker ps -a -q | % { docker rm $_ } | |
) | |
Return | |
::drmi:: | |
( | |
docker images -q | % { docker rmi $_ } | |
) | |
Return | |
::drmv:: | |
( | |
docker volume rm $(docker volume ls -f dangling=true -q) | |
) | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment