Interview Prep/Docker/Image Security & Hardening

How do you restrict which registries a host may pull from?

AdvancedProductionImage Security & Hardening
Answer

Docker Engine has no allow-list natively; use Docker Desktop Registry Access Management, containerd/CRI-O registries.conf mirroring and blocking, a network egress firewall that allows only your registry, and Kubernetes admission policies. In Podman, registries.conf (unqualified-search-registries, [[registry]] blocked = true).

All Docker questions Roadmap: Docker & containers

More on Image Security & Hardening