docker-image-tag
tag Docker images with repository and version identifiers
TLDR
Tag an image
$ docker image tag [source_image] [target_image]:[tag]
Tag with registry prefix$ docker image tag [image] [registry.example.com/image]:[tag]
Tag by image ID$ docker image tag [image_id] [repository]:[tag]
SYNOPSIS
docker image tag sourceimage[:tag] targetimage[:tag]
DESCRIPTION
docker image tag creates a tag that refers to an existing image. Tags are references to specific image versions and are used to push images to registries. Multiple tags can point to the same image, allowing different versioning schemes or registry locations without duplicating the image data.
SEE ALSO
docker-tag(1), docker-image-push(1)
