Created
May 18, 2019 23:48
-
-
Save sagarjauhari/82a4d064a4f917c5dc43d426651d45d7 to your computer and use it in GitHub Desktop.
Docker aliases
This file contains hidden or 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
# Show live stats | |
alias ds='while true; do TEXT=$(docker stats --no-stream $(docker ps --format "{{.Names}}")); sleep 0.1; clear; echo "$TEXT"; done' | |
# Kill all containers | |
alias dk='docker kill $(docker ps -q)' | |
# Docker compose | |
alias dc='docker-compose' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment