Skip to content

Instantly share code, notes, and snippets.

@munhitsu
Last active March 8, 2016 16:04
Show Gist options
  • Save munhitsu/0d4b3d0dc6177620b8be to your computer and use it in GitHub Desktop.
Save munhitsu/0d4b3d0dc6177620b8be to your computer and use it in GitHub Desktop.
docker commands
#nice docker stats
docker stats $(docker ps --format '{{.Names}}')
#old way
docker stats $(docker ps | awk '{if(NR>1) print $NF}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment