Last active
March 14, 2018 11:38
-
-
Save dmi3coder/410ce96b9c19deba67f79b925941fe37 to your computer and use it in GitHub Desktop.
Kubernetes and Docker shell aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ALIASES | |
## Kubernetes | |
alias kp="kubectl get po" | |
alias kl="kubectl logs" | |
alias ks="kubectl get logs" | |
## Docker | |
alias dk="docker" | |
alias dks="dk ps" | |
alias dksn="dks --format \"table {{.ID}}\t{{.Names}}\t'dkl {{.ID}}'\t'dke {{.ID}} bash'\"" | |
alias dki="dk images" | |
alias dke="dk exec -ti" | |
alias dkl="dk logs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment