docker tag myapp:latest registry.example.com/myapp:1.0
Tag an image for a registry destination
Adds a new tag pointing at the same image, here prefixed with the registry host so docker push knows the destination. Tags are cheap references, not copies. The original myapp:latest tag remains.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.