Skip to content

Instantly share code, notes, and snippets.

@phenixita
Created April 19, 2019 19:22
Show Gist options
  • Save phenixita/6b3b65e58cf19ff38d9e4f44e6f79a54 to your computer and use it in GitHub Desktop.
Save phenixita/6b3b65e58cf19ff38d9e4f44e6f79a54 to your computer and use it in GitHub Desktop.
#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