Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker aliases
# 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
You can’t perform that action at this time.