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

Update docker cleanup aliases for new feature

This commit is contained in:
Joe Groocock 2017-05-22 18:20:46 +01:00
parent 0acead3503
commit 262e2ca549
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -155,8 +155,8 @@ alias dnet='docker network'
alias dvol='docker volume' alias dvol='docker volume'
alias dlg='docker logs -f' 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 rm -v $(docker ps -a -q -f status=exited)' alias drm-stopped='docker container prune'
alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)' alias drmi-untag='docker image prune'
alias dsh='_dsh exec' alias dsh='_dsh exec'
alias drsh='_dsh "run --rm"' alias drsh='_dsh "run --rm"'
_dsh() { _dsh() {