Frequent questions about container registries: public vs private, digest vs tag, and the difference from a general registry.
- Public vs private?
Public (Docker Hub, Quay) is open; private (Harbor, ECR, GCR) is access-controlled. Enterprises use private.
- Digest vs tag?
Tag is human-friendly and mutable (
app:1.2.3); digest is content-addressed and immutable (sha256:abc...). Deployments pin the digest.- Container registry vs general registry?
A general
registry(see D270) is the DNS organization that administers a TLD. A container registry stores images. Same word, different objects.- Why scan images?
Because base images have CVEs. A green build with an old base is a green build with a known vulnerability.