docker top

Display the running processes of a container. More information: https://docs.docker.com/engine/reference/commandline/top.

docker top container

docker top --help