Configure registry mirrors and insecure registries for containerd.
IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Private registry with self-signed TLS.
What I'd do → Preferred: trust the CA. With containerd use config_path and /etc/containerd/certs.d/reg.example.com/hosts.toml:
server = "https://reg.example.com"
[host."https://reg.example.com"]
ca = "/etc/containerd/certs.d/reg.example.com/ca.crt"
For Docker: place the CA in /etc/docker/certs.d/reg.example.com/ca.crt, no restart needed.
Why → Avoids disabling TLS verification.
Interview tip → insecure-registries is a last resort.
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