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.
More on Runtime Stack, OCI & Registries
What is the architecture of Docker Engine?IntermediateWhat is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?Intermediate