1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add docker cleanup dprune alias

This commit is contained in:
Joe Groocock 2017-08-27 16:36:11 +01:00
parent 4ce9682271
commit 35226c70f4
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -157,6 +157,7 @@ alias dlg='docker logs -f'
alias dalpine='docker run -ti --rm alpine /bin/sh' alias dalpine='docker run -ti --rm alpine /bin/sh'
alias drm-stopped='docker container prune' alias drm-stopped='docker container prune'
alias drmi-untag='docker image prune' alias drmi-untag='docker image prune'
alias dprune='docker system prune -f'
alias dsh='_CMD=dsh _dsh exec' alias dsh='_CMD=dsh _dsh exec'
alias drsh='_CMD=drsh _dsh run --rm' alias drsh='_CMD=drsh _dsh run --rm'
_dsh() { _dsh() {