Skip to content

Instantly share code, notes, and snippets.

@dmi3coder
Last active March 14, 2018 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmi3coder/410ce96b9c19deba67f79b925941fe37 to your computer and use it in GitHub Desktop.
Save dmi3coder/410ce96b9c19deba67f79b925941fe37 to your computer and use it in GitHub Desktop.
Kubernetes and Docker shell aliases
# 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