I want to display state of all running container, so I could achieve it like the following:
docker stats $(docker ps -q)
CON
Since docker 1.13.0 (#27797), there's a format option which support container name. So you can run it like this:
docker stats --format "table {{.Name}}\t{{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}"
See Docker Formatting for full details.