Show the processes running in a Docker container
docker top processes in container | which container is this process | list processes inside docker container | docker | processes | debuggingdocker top appLists the processes in the container as they appear on the host. This also works with minimal images that have no ps. The PID shown is the host PID, so a suspicious process from top can be matched directly to a container.
Note: Docker commands require root or the docker group.
Also searched as
- docker top processes in container
- which container is this process
- list processes inside docker container