LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-container-top

display running processes inside a container

TLDR

Show running processes in a container
$ docker container top [container]
copy
Show with custom ps options
$ docker container top [container] aux
copy

SYNOPSIS

docker container top container [ps options]

DESCRIPTION

docker container top displays the running processes inside a container, similar to the Unix ps command but scoped to a specific container's process namespace. This provides visibility into what is actually executing within the container at any given moment.The command accepts standard ps options to customize the output format and control which process attributes are displayed. This is particularly useful for debugging containers, verifying that expected processes are running, and investigating resource usage at the process level.

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid