Tag and push an image to a registry
Select an icon to see what it is.
Step 1 of 6
docker tag adds a name
The CLI sends POST /images/web:1.0/tag with the new repo and tag. dockerd adds one more name for the same image Id in its local store. No data is copied, and the registry is not contacted.
$ docker tag web:1.0 registry.example.com/shop/web:1.0 PrevNext
POST /v1.45/images/web:1.0/tag?repo=registry.example.com/shop/web&tag=1.0
{"repo": "registry.example.com/shop/web""tag": "1.0"}