feat: docker sudo alias
This commit is contained in:
parent
c72ca2b5de
commit
7e7d89764c
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
if [ ! -w '/var/run/docker.sock' ]; then
|
||||
alias docker='sudo docker'
|
||||
alias docker-compose='sudo docker-compose'
|
||||
fi
|
||||
|
||||
alias dk='docker'
|
||||
|
||||
# containers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue