docker alias for k9s and dive
This commit is contained in:
parent
4fd4765af4
commit
5e3c18c6a0
11
zsh.d/50_docker_aliases.zsh
Normal file
11
zsh.d/50_docker_aliases.zsh
Normal file
@ -0,0 +1,11 @@
|
||||
# vim: ft=zsh
|
||||
|
||||
if command-exists "docker"; then
|
||||
if ! command-exists "k9s"; then
|
||||
alias k9s='docker run --network host -it --rm -v ~/.kube:/root/.kube quay.io/derailed/k9s'
|
||||
fi
|
||||
|
||||
if ! command-exists "dive"; then
|
||||
alias dive='docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive'
|
||||
fi
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user