Skip to content
All references

DevOps reference

Docker Image Names, Tags & Digests

Understand Docker image references, default tags, registry ports and digest pinning. Try each naming pattern in the image parser.

8 of 8 entries

Names

Read a reference from left to right

registry.example.com:5000/team/api:1.4.2
registry: registry.example.com:5000
namespace: team
repository: api
tag: 1.4.2

The port belongs to the registry; the colon after the final slash introduces the tag. Nested namespaces can contain several path segments.

Try this example

Defaults

What an untagged name means

nginx
Docker default: docker.io/library/nginx:latest

For this Docker Hub shorthand, Docker supplies the registry, official-image namespace and latest tag. The parser preserves what you entered and warns about the implicit tag.

Try this example

Names

Shorten a Docker Hub name safely

docker.io/library/postgres:16-alpine
Familiar name: postgres:16-alpine

Docker Hub and its library namespace can be omitted in this official-image reference. A private registry must stay in the name to preserve its destination.

Try this example

Tags

A tag is a label, not a content guarantee

ghcr.io/acme/api:1.4.2
ghcr.io/acme/api:latest

Registries can move tags to different image content. A version-looking tag is still a tag, and latest is a conventional label rather than a promise of the newest release.

Digests

Pin content with a digest

ghcr.io/acme/api@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

A digest identifies content instead of a movable tag. This is a made-up SHA-256 example for parsing; obtain a real digest from your registry before using it.

Try this example

Digests

Keep the digest when shortening a name

docker.io/library/alpine@sha256:<64 hexadecimal characters>
alpine@sha256:<the same 64 hexadecimal characters>

Dropping the digest loses the content pin. The parser's familiar form retains it and preserves non-Docker-Hub registries. Replace angle-bracket placeholders before parsing.

Troubleshooting

Diagnose invalid reference format

Incorrect: https://ghcr.io/acme/api:1.4.2
Reference: ghcr.io/acme/api:1.4.2
Incorrect: ghcr.io/Acme/API:1.4.2

Image references do not start with a URL scheme. Repository paths use lowercase names. Check for spaces, an empty trailing tag or a truncated digest as well.

Troubleshooting

Parsing does not prove an image exists

A name parses → its parts can be read
A pull succeeds → the registry resolved it and allowed access

BigForgeKit reads names locally without contacting a registry. A correctly structured reference can still fail to pull because of missing content, authentication or platform availability.