tag

A human-readable label such as 3.20 or latest attached to an image in a repository, which can be moved to point at a different image.

In more detail

A tag points at one image today, but the publisher can move it to a different image tomorrow, for example when they rebuild with security fixes. If you leave the tag out, most tools assume latest. Tags are fine for people to read, but record or deploy by digest when a release must mean exactly the same thing later.

Examples

docker image tag taskapi:0.1 registry.example.com/team/taskapi:0.1
healthcheck:dev
eclipse-temurin:21-jre
postgres:16

Related terms

Taught in

References

Certification courses