advancedTop 100 Interview Questions
What is an image digest, and how does it differ from a tag?
A digest (sha256:...) is a cryptographic hash of the image manifest, uniquely and immutably identifying exact content. A tag (like `latest` or `1.2.0`) is a mutable, human-friendly pointer that can be reassigned to point at different digests over time — pulling by digest guarantees you get exactly the same bytes every time.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response