docker-tag - Man Page
Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
Examples (TL;DR)
- Assign a name and tag to a specific image ID:
docker tag id name:tag
- Assign a tag to a specific image:
docker tag image:current_tag image:new_tag
- Display help:
docker tag
Synopsis
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
Description
Alias for docker image tag.
Options
-h, --help[=false] help for tag
See Also
Referenced By
docker-build(1), docker-container-commit(1).
Dec 2024 Docker Community Docker User Manuals