docker stats

Display a live stream of resource usage statistics for containers. More information: https://docs.docker.com/reference/cli/docker/container/stats/.

docker stats

docker stats {{container1 container2 ...}}

docker stats --format "{{.Name}}:\t{{.CPUPerc}}"

docker stats --all

docker stats --no-stream