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

Update the docs for --link accept container id #10135

Merged
merged 1 commit into from
Jan 20, 2015

Conversation

coolljt0725
Copy link
Contributor

Signed-off-by: Lei Jitang leijitang@huawei.com

@@ -105,7 +105,7 @@ Finally, several networking options can only be provided when calling
[Configuring DNS](#dns) and
[How Docker networks a container](#container-networking)

* `--link=CONTAINER_NAME:ALIAS` — see
* `--link=<CONTAINER_NAME|CONTAINER_ID>:ALIAS` — see
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps this should be CONTAINER_NAME_or_ID to be (more) consistent with --net below on line 112?

(Occurs a couple more time in this document)

Signed-off-by: Lei Jitang <leijitang@huawei.com>
@coolljt0725
Copy link
Contributor Author

update as @thaJeztah 's advice.Since GitHub/MarkDown will treat the <foo|bar> notation as HTML tags and making them invisible,so change <name|id> to <name or id>.And change CONTAINER_NAME | CONTAINER_ID to CONTAINER_NAME_or_ID

@thaJeztah
Copy link
Member

Thanks (but can't check output on GitHub now from my phone)

@jamtur01
Copy link
Contributor

LGTM Ping @SvenDowideit @fredlf

@fredlf
Copy link
Contributor

fredlf commented Jan 20, 2015

LGTM

fredlf pushed a commit that referenced this pull request Jan 20, 2015
Update the docs for --link accept container id
@fredlf fredlf merged commit e6a70a6 into moby:master Jan 20, 2015
@coolljt0725 coolljt0725 deleted the update_link_docs branch March 5, 2015 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants