Looking to view running container information quickly? Check out the new atomic top
command!
atomic top
is a new atomic sub-command that will allow you to interactively display the top process information from all of your containers running on a host. It works like the standard top
command, where it will continuously update the top processes. Under the hood, atomic top
is using Docker’s top API to gather information about a particular container. When queried, the Docker daemon uses ps
to give back results. The same thing happens with the Docker CLI.
Docker’s top
command allows users to display the ps
output for the main process of a given container ID or name. It’s handy because it returns information about containers running on remote daemons as well.