# Docker Top

> How do you see the processes running inside a container, and how is docker top different from running ps inside it?

Canonical: https://www.internhack.in/learn/interview/docker-containers/docker-top-command
Last updated: 2026-11-28

Difficulty: Beginner

## Question

How do you see the processes running inside a container, and how is docker top different from running ps inside it?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

docker top, PID namespace, docker exec ps, docker stats, Process inspection

Previous: [Save vs. Export](https://www.internhack.in/learn/interview/docker-containers/docker-save-vs-export) · Next: [Pruning Volumes](https://www.internhack.in/learn/interview/docker-containers/docker-volume-prune) · [All of Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)

## More Docker & Containers questions

- [Copying Files](https://www.internhack.in/learn/interview/docker-containers/docker-cp-command)
- [Docker Commit](https://www.internhack.in/learn/interview/docker-containers/docker-commit-command)
- [Image History](https://www.internhack.in/learn/interview/docker-containers/docker-history-command)
- [User Namespaces](https://www.internhack.in/learn/interview/docker-containers/docker-user-namespace-remapping)
- [HEALTHCHECK](https://www.internhack.in/learn/interview/docker-containers/docker-healthcheck-instruction)
- [Tmpfs Mounts](https://www.internhack.in/learn/interview/docker-containers/docker-tmpfs-mounts)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)
