<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz" -->

---
title: Tag and digest in Docker: what happens when an update...
description: Explains the structure of a Docker image reference (registry, repository, tag) using Microsoft's Azure Container Instances hello-world example, then contrasts...
canonical: https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Tag and digest in Docker: what happens when an update arrives | daily.dev
og:description: Explains the structure of a Docker image reference (registry, repository, tag) using Microsoft's Azure Container Instances hello-world example, then contrasts...
og:url: https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz
og:image: https://api.daily.dev/og/posts/UZ6s5vIwz.png
og:image:alt: Tag and digest in Docker: what happens when an update arrives
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tag and digest in Docker: what happens when an update arrives

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 4 min read · 0 upvotes · 0 comments

## Summary

Explains the structure of a Docker image reference (registry, repository, tag) using Microsoft's Azure Container Instances hello-world example, then contrasts tags with digests. Tags like 'latest' or version-looking tags can be repointed by maintainers to different image content over time, so the same reference can resolve to different images on different days. Digests, calculated from content (SHA-256), pin an exact image and never move, giving reproducible pulls, though knowing a digest says nothing about the image's safety or trustworthiness. Adopting a new version with a pinned digest requires deliberately updating to the new digest.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=I3V2URH8srM>

## Questions this post answers

### What is the difference between a Docker tag and a Docker digest?

A tag like 'latest' or a version number is a mutable label that a maintainer can repoint to a different image at any time, so the same reference can resolve to different content on different days. A digest is a SHA-256 hash calculated from the image content itself, so pulling by digest always retrieves the exact same content, never a moved target.

_Developers pinning reproducible builds can dig into digest versus tag tradeoffs on daily.dev._

### Does pulling a Docker image by digest guarantee the image is safe to use?

No, a digest only identifies specific content, it does not prove the code is safe or that the publisher is trustworthy. Trust still depends on verifying who maintains the image and what documentation they provide, separate from confirming which exact bytes you are pulling.

_Teams evaluating container supply chain risk can track this reasoning on daily.dev._

### What are the parts of a full Docker image reference like mcr.microsoft.com/azure-docs/aci-helloworld:latest?

The reference breaks into a registry (mcr.microsoft.com, the server hosting the image), a repository path with namespace and name (azure-docs/aci-helloworld), and a tag (latest) selecting a specific image within that repository. If no registry is given, Docker Hub is assumed; if no tag is given, latest is assumed by default.

_Developers parsing container references can revisit registry and tag conventions on daily.dev._

## Similar posts on daily.dev

- [Docker snapshot tags aren't as static as I thought](https://daily.dev/posts/docker-snapshot-tags-aren-t-as-static-as-i-thought-r7mvassvx) · The Art of Simplicity · 4 upvotes · 2 comments
- [Docker Images vs Containers Explained: The Complete Beginner Guide with Examples \(2026\)](https://daily.dev/posts/docker-images-vs-containers-explained-the-complete-beginner-guide-with-examples-2026--uaeekolsa) · Medium · 0 upvotes · 0 comments
- [Docker Hub vs. Private Registries: Security Tradeoffs](https://daily.dev/posts/docker-hub-vs-private-registries-security-tradeoffs-5ip8a40gf) · Cloud Native Now · 13 upvotes · 1 comments
- [Images, Volumes, and Containers: Docker Explained in Plain English](https://daily.dev/posts/images-volumes-and-containers-docker-explained-in-plain-english-hzbq37yn8) · Ruby Flow · 1 upvotes · 0 comments
- [From postmortems to guardrails at scale](https://daily.dev/posts/from-postmortems-to-guardrails-at-scale-i8cect33g) · Earthly · 0 upvotes · 0 comments

---

Tags: [#docker](https://daily.dev/tags/docker), [#containers](https://daily.dev/tags/containers)

[View this post on daily.dev](https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Tag and digest in Docker: what happens when an update arrives","url":"https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz"},"datePublished":"2026-09-15T17:47:19.953Z","dateModified":"2026-09-15T17:47:45.521Z","description":"Explains the structure of a Docker image reference (registry, repository, tag) using Microsoft's Azure Container Instances hello-world example, then contrasts...","image":"https://i.ytimg.com/vi/I3V2URH8srM/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/I3V2URH8srM/sddefault.jpg","isAccessibleForFree":true,"articleSection":"We Are .NET","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"We Are .NET","logo":"https://media.daily.dev/image/upload/s--BsnVOa3i--/f_auto/v1718347410/logos/wearedotnet","url":"https://daily.dev/sources/wearedotnet"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"docker,containers","timeRequired":"PT4M","video":{"@type":"VideoObject","name":"Tag and digest in Docker: what happens when an update arrives","description":"Explains the structure of a Docker image reference (registry, repository, tag) using Microsoft's Azure Container Instances hello-world example, then contrasts...","thumbnailUrl":"https://i.ytimg.com/vi/I3V2URH8srM/sddefault.jpg","uploadDate":"2026-09-15T17:47:19.953Z","duration":"PT4M","url":"https://api.daily.dev/r/UZ6s5vIwz","embedUrl":"https://www.youtube.com/embed/I3V2URH8srM"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"We Are .NET","item":"https://daily.dev/sources/wearedotnet"},{"@type":"ListItem","position":3,"name":"Tag and digest in Docker: what happens when an update arrives"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/tag-and-digest-in-docker-what-happens-when-an-update-arrives-uz6s5viwz#faq","mainEntity":[{"@type":"Question","name":"What is the difference between a Docker tag and a Docker digest?","acceptedAnswer":{"@type":"Answer","text":"A tag like 'latest' or a version number is a mutable label that a maintainer can repoint to a different image at any time, so the same reference can resolve to different content on different days. A digest is a SHA-256 hash calculated from the image content itself, so pulling by digest always retrieves the exact same content, never a moved target. Developers pinning reproducible builds can dig into digest versus tag tradeoffs on daily.dev."}},{"@type":"Question","name":"Does pulling a Docker image by digest guarantee the image is safe to use?","acceptedAnswer":{"@type":"Answer","text":"No, a digest only identifies specific content, it does not prove the code is safe or that the publisher is trustworthy. Trust still depends on verifying who maintains the image and what documentation they provide, separate from confirming which exact bytes you are pulling. Teams evaluating container supply chain risk can track this reasoning on daily.dev."}},{"@type":"Question","name":"What are the parts of a full Docker image reference like mcr.microsoft.com/azure-docs/aci-helloworld:latest?","acceptedAnswer":{"@type":"Answer","text":"The reference breaks into a registry (mcr.microsoft.com, the server hosting the image), a repository path with namespace and name (azure-docs/aci-helloworld), and a tag (latest) selecting a specific image within that repository. If no registry is given, Docker Hub is assumed; if no tag is given, latest is assumed by default. Developers parsing container references can revisit registry and tag conventions on daily.dev."}}]}
```

