Docker CLI

docker top

Lists processes associated with a running container. This is a process listing, not a resource benchmark. Process IDs and optional ps arguments can depend on the daemon environment. Use the approved bm-v04-debug fixture; avoid sharing sensitive command arguments. Process listings are observations, not proof of application readiness.

Formal Syntax & Structure

docker syntaxdocker
docker top CONTAINER [ps OPTIONS]

Parameters & Attributes

NameTypeDescription
CONTAINERstringRunning container name or ID.
ps OPTIONSstring[]Supported process-list options on the daemon platform.

Working Example

Example Snippetdocker
docker top bm-v04-debug
Docker Reference