docker tag
Assign tags to existing Docker images. More information: https://docs.docker.com/reference/cli/docker/image/tag/.
- 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