Skip to content

Commit 009a15f

Browse files
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.
1 parent 608b663 commit 009a15f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/src/image/tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repository with "version1.0.test":
4848

4949
## Tagging an image for a private repository
5050

51-
To push an image to a private registry and not the central Docker
51+
Before pushing an image to a private registry and not the central Docker
5252
registry you must tag it with the registry hostname and port (if needed).
5353

5454
docker image tag 0e5574283393 myregistryhost:5000/fedora/httpd:version1.0

0 commit comments

Comments
 (0)