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>
This commit is contained in:
Jake Lambert 2018-10-04 14:32:58 -05:00 committed by Jake Lambert
parent 608b6632b0
commit 4ed484bac4
1 changed files with 1 additions and 1 deletions

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