LinuxCommandLibrary

docker-top

display running processes in a container

TLDR

Show running processes in container

$ docker top [container]
copy
Show with custom ps options
$ docker top [container] aux
copy
Show with specific columns
$ docker top [container] -o pid,comm
copy

SYNOPSIS

docker top container [ps options]

DESCRIPTION

docker top displays the running processes inside a container, similar to the Unix top command. Accepts ps options to customize output format.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community