FahamLah

Commands

docker top

docker top <container>

Risk: Safe

What it does

Lists the processes running in a container.

When to use it

To see that a container is just processes.

Example

$ docker top web

nginx's master and workers.

$ docker stats --no-stream

Memory and CPU of each container, once.