zshrc/zsh.d/50_docker_aliases.zsh
2025-06-11 06:05:59 +02:00

12 lines
322 B
Bash

# 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 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