Last active
July 17, 2019 07:50
-
-
Save maxleiko/8aa72eb8361e0f6d851396f9540d5f10 to your computer and use it in GitHub Desktop.
Copy/past this in your .bashrc / .zshrc / .whateverrc
This file contains hidden or 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
alias dim="docker images" | |
alias dps="docker ps" | |
alias drm="docker rm" | |
alias drmi="docker rmi" | |
# Deletes all docker containers (if stopped, otherwise use -f) | |
function drma() { | |
drm $1 $(dps -aq) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment