Skip to content

Instantly share code, notes, and snippets.

@mihaiparaschiv
Created September 7, 2017 17:00
Show Gist options
  • Save mihaiparaschiv/646c7e09f98d47dadb57ea52aac7b0fe to your computer and use it in GitHub Desktop.
Save mihaiparaschiv/646c7e09f98d47dadb57ea52aac7b0fe to your computer and use it in GitHub Desktop.
Docker utility commands
docker stats $(docker ps --format={{.Names}})
docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
#docker-machine ssh ${1:-default} watch -t 'docker ps --format \"table {{.Names}}\\\t{{.Status}}\"'
watch -t 'docker ps --format "table {{.Names}}\\\t{{.Status}}"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment