Clarify in docs that docker tag doesn't publish

I am attempting to push a tag to a private repository. The documentation for `docker tag`  has an explicit example to for how ["To push an image to a private registry"](https://docs.docker.com/engine/reference/commandline/tag/#tag-an-image-referenced-by-name). My colleague clarified that this command does not in fact push anything, so I thought this PR might save some future novice the same confusion.

Signed-off-by: Jake Lambert <jake.lambert@volusion.com>
(cherry picked from commit 4ed484bac4)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Jake Lambert
2018-10-25 15:30:24 +02:00
committed by Sebastiaan van Stijn
parent 2e7e529a18
commit 1df47ffb4d
+1 -1
View File
@@ -48,7 +48,7 @@ repository with "version1.0.test":
## Tagging an image for a private repository ## Tagging an image for a private repository
To push an image to a private registry and not the central Docker Before pushing an image to a private registry and not the central Docker
registry you must tag it with the registry hostname and port (if needed). registry you must tag it with the registry hostname and port (if needed).
docker image tag 0e5574283393 myregistryhost:5000/fedora/httpd:version1.0 docker image tag 0e5574283393 myregistryhost:5000/fedora/httpd:version1.0