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

Add some new docker aliases

This commit is contained in:
Joe Groocock 2017-01-18 17:04:20 +00:00
parent ad77335211
commit d4e310a68c
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -143,6 +143,9 @@ alias drun='docker run -ti'
alias dkl='docker kill' alias dkl='docker kill'
dklrm() { docker kill $1 ; docker rm $1 } dklrm() { docker kill $1 ; docker rm $1 }
alias dst='docker stop' alias dst='docker stop'
alias drst='docker restart'
alias dnet='docker network'
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 rm -v $(docker ps -a -q -f status=exited)'