Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker tag command help is confusing #38594

Open
pdevine opened this issue Jan 18, 2019 · 1 comment
Open

Docker tag command help is confusing #38594

pdevine opened this issue Jan 18, 2019 · 1 comment

Comments

@pdevine
Copy link

pdevine commented Jan 18, 2019

This is related to issue #28204 . Unfortunately I think the fix made things more confusing in certain circumstances.

If you type docker --help, the output is:

tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

That's technically correct, but it's confusing if you don't type docker tag --help to get the usage information:


Usage:	docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]

Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

This should be re-worded to something like "Use SOURCE_IMAGE to create a tag TARGET_IMAGE". Another alternative would be to just say something like "Create a new tag which refers to an existing tag" which

@thaJeztah
Copy link
Member

Could you open this in the https://github.com/docker/cli issue tracker? That's where the code lives; if you have ideas for a better wording, perhaps a pull request? 🤗😇

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

No branches or pull requests

2 participants