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:
parent
ad77335211
commit
d4e310a68c
3
aliases
3
aliases
@ -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)'
|
||||||
|
Loading…
Reference in New Issue
Block a user