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

What are the storage drivers and which would you use?

IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer

Situation read → Know the options.

What I'd do → overlay2 is the default and recommended (ext4 or xfs with d_type); newer Docker uses the containerd image store with the overlayfs snapshotter; btrfs/zfs when the host already uses them for snapshots; devicemapper and aufs are removed/deprecated. Check docker info -f '{{.Driver}}'.

Why → overlay2 has the best performance and kernel support.

Interview tip → Moving /var/lib/docker requires data-root in daemon.json.

All Docker questions Roadmap: Docker & containers

More on Runtimes: containerd, OCI, rootless and Podman