Skip to content

Clarify in docs that docker tag doesn't publish#1418

Merged
albers merged 1 commit intodocker:masterfrom
jake-lambert-volusion:docker-image-tag-docs
Oct 5, 2018
Merged

Clarify in docs that docker tag doesn't publish#1418
albers merged 1 commit intodocker:masterfrom
jake-lambert-volusion:docker-image-tag-docs

Conversation

@jake-lambert-volusion
Copy link
Contributor

First PR, just to clarify docs which confused me as a newcomer. Please let me know if I can do anything better.

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". 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.

- What I did
I changed the wording in the docker image tag docs which implied that the tag command would push an image.
- How I did it
I forked the repo and edited man/src/image/tag.md in GitHub.
- How to verify it
I don't know.
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

cute-baby-animals-2-2

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "docker-image-tag-docs" git@github.com:jake-lambert-volusion/cli.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

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>
@jake-lambert-volusion
Copy link
Contributor Author

@GordonTheTurtle Done

@codecov-io
Copy link

Codecov Report

Merging #1418 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1418   +/-   ##
=======================================
  Coverage   54.26%   54.26%           
=======================================
  Files         289      289           
  Lines       19331    19331           
=======================================
  Hits        10490    10490           
  Misses       8165     8165           
  Partials      676      676

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for you first PR @jake-lambert-volusion ! Hope there will be many others 😉

@silvin-lubecki
Copy link
Contributor

(And by the way no need to answer @GordonTheTurtle , it's our bot)

Copy link
Collaborator

@albers albers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants