Interview Prep/Docker/Runtime Stack, OCI & Registries

What is the difference between `docker stats`, `docker top` and `docker logs`?

BeginnerConceptRuntime Stack, OCI & Registries
Answer

docker stats streams live CPU, memory, network and block I/O per container. docker top lists processes running inside a container (as seen from the host). docker logs shows the container's stdout/stderr (-f follow, --since, --tail). For quick triage use all three together.

All Docker questions Roadmap: Docker & containers

More on Runtime Stack, OCI & Registries