1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 09:40:09 +00:00

feat(docker): add new aliases

Co-authored-by: Matthew Adams <matthew@matthewadams.me>
This commit is contained in:
baltic-tea 2024-11-10 16:44:16 +03:00 committed by GitHub
parent 137c7e46bd
commit 3914197aa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,9 +22,16 @@ alias dpu='docker pull'
alias dpsh='docker push'
alias dr='docker container run'
alias drit='docker container run -it'
alias dritbash='docker run -it --entrypoint /bin/bash'
alias dritp='docker container run -it -v $PWD:/pwd -w /pwd'
alias dritprm='docker container run --rm -it -v $PWD:/pwd -w /pwd'
alias dritsh='docker run -it --entrypoint /bin/sh'
alias dritshp='docker run -it --entrypoint /bin/sh -v $PWD:/pwd -w /pwd'
alias dritrm='docker container run --rm -it'
alias drm='docker container rm'
alias 'drm!'='docker container rm -f'
alias 'drma!'='docker container ls -a -q | xargs docker container rm -f'
alias drp='docker container run -v $PWD:/pwd -w /pwd'
alias dst='docker container start'
alias drs='docker container restart'
alias dsta='docker stop $(docker ps -q)'