Docker Image Tag Samples

Collection of Docker image references with various registries, repositories, tags, and digests

📝 Common Docker Image References

🟢 simple

Popular Docker images from different registries with various tags and formats

# Docker Image Reference Samples
# Copy one of these lines to test the Docker Image Tag Validator

# --- Official Images (Docker Hub) ---
# Simple name with tag
nginx:latest
nginx:alpine
nginx:1.24

# Without tag (defaults to latest)
nginx
ubuntu
node

# --- Image with Digest ---
# Using SHA256 digest instead of tag (must be 64 hex chars)
nginx@sha256:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabb
alpine@sha256:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabb

# --- Custom Registry ---
# Docker Hub with explicit registry
docker.io/library/nginx:latest
docker.io/library/ubuntu:22.04

# Google Container Registry
gcr.io/google-containers/busybox
us.gcr.io/my-project/my-image:v1.0

# AWS Elastic Container Registry
public.ecr.aws/nginx/nginx:latest
123456789012.dkr.ecr.us-east-1.amazonaws.com/my-repo:prod

# Azure Container Registry
myregistry.azurecr.io/my-image:v1

# GitHub Container Registry
ghcr.io/user/repo:main
ghcr.io/org/project:latest

# --- Namespace/Repository ---
# Organization namespace
bitnami/nginx:latest
kubernetesui/dashboard:v2.5.0

# User namespace
john/myapp:development
docker.io/johndoe/my-service:v2

# Multi-level namespace
company/team/project/service:1.0.0

# --- Complex Examples ---
# Port specified
localhost:5000/my-image:latest
127.0.0.1:5000/myapp:dev

# Private registry with authentication
registry.example.com:5000/production/api:v3.2.1

# Tag with semantic versioning
myapp:1.0.0
myapp:2.1.3-beta
myapp:3.0.0-rc1

# Tag with build info
myapp:v1.0.0-build.45
myapp:latest-20241227

# --- Edge Cases / Invalid Examples ---
# These are commonly seen but not valid per Docker specification
# Platform tags (not standard tag format)
# nginx:linux/amd64
# busybox:linux/arm64

# Repository with underscore (not allowed)
# myimage:v1.0

# --- Special Tags ---
# SHA256 digest examples (must be 64 hex chars after sha256:)
nginx@sha256:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff0011223344556678899aabb
alpine@sha256:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff0011223344556678899aabb

# Combined tag and digest (digest takes precedence)
# NOTE: Docker repository names cannot contain underscores, use hyphens
my-image:v1.0@sha256:00112233445566778899aabbccddeeff00112233445566778899aabb