Checkpoint and restore a container. When is it useful?
AdvancedScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Fast warm start or forensic capture.
What I'd do → Podman: podman container checkpoint web -e /tmp/web.tar.gz then podman container restore -i /tmp/web.tar.gz. Docker: experimental docker checkpoint create. Both rely on CRIU, which has limits with network connections, GPUs and some kernel features.
Why → Useful for slow-starting apps and forensic snapshots, not a replacement for HA.
Interview tip → Kubernetes forensic checkpointing is an alpha/beta feature in kubelet.
More on Runtimes: containerd, OCI, rootless and Podman
Explain the path from `docker run` to a running process.IntermediateKubernetes removed dockershim. What does that mean for your Docker-built images?BeginnerRun rootless Docker for developers on a shared Linux box.IntermediatePodman vs Docker: when would you pick Podman?IntermediateRun a Podman container as a systemd service.IntermediateWhat is the OCI and which specs does it define?Beginner