Interview Prep/Docker/Runtimes: containerd, OCI, rootless and Podman

Use `nerdctl` or `ctr` or `crictl`?

IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer

Situation read → On a containerd node, which CLI?

What I'd do → crictl for Kubernetes node debugging (CRI view: pods, containers, crictl logs). nerdctl for a Docker-like experience on containerd (Compose, build with BuildKit). ctr is a low-level debug tool and not meant for daily use. Namespaces: Kubernetes uses k8s.io, so ctr -n k8s.io images ls.

Why → Each has a different abstraction level.

Interview tip → Know the -n k8s.io namespace.

All Docker questions Roadmap: Docker & containers

More on Runtimes: containerd, OCI, rootless and Podman