From 4ed484bac42c7b9bf862490a4cb0fa5b5255228c Mon Sep 17 00:00:00 2001 From: Jake Lambert <32850427+jake-lambert-volusion@users.noreply.github.com> Date: Thu, 4 Oct 2018 14:32:58 -0500 Subject: [PATCH] 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 --- man/src/image/tag.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/src/image/tag.md b/man/src/image/tag.md index 16abd75290..2b5a45cc51 100644 --- a/man/src/image/tag.md +++ b/man/src/image/tag.md @@ -48,7 +48,7 @@ repository with "version1.0.test": ## 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). docker image tag 0e5574283393 myregistryhost:5000/fedora/httpd:version1.0