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

Add docs for --dns-search=. #8839

Merged
merged 2 commits into from
Oct 31, 2014
Merged

Conversation

irachex
Copy link
Contributor

@irachex irachex commented Oct 29, 2014

PR #6720 introduce that use --dns-search=. will not set search in /etc/resolv.conf.

@@ -170,6 +170,7 @@ Four different options affect container domain name services.
When a container process attempts to access `host` and the search
domain `example.com` is set, for instance, the DNS logic will not
only look up `host` but also `host.example.com`.
Use `--dns-serach=.` to not set search domain.
Copy link
Contributor

Choose a reason for hiding this comment

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

search

Copy link
Contributor

Choose a reason for hiding this comment

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

Use --dns-search=. if you don't wish to set the search domain.

@jamtur01
Copy link
Contributor

Thanks for this. Can you please update based on feedback.

@irachex
Copy link
Contributor Author

irachex commented Oct 30, 2014

@jamtur01 Thanks for your review. updated

PR 6720 introduce that use `--dns-search=.` will not set `search` in `/etc/resolv.conf`.

Signed-off-by: Huayi Zhang <irachex@gmail.com>
@jamtur01
Copy link
Contributor

LGTM Ping @SvenDowideit @fredlf

@fredlf
Copy link
Contributor

fredlf commented Oct 30, 2014

LGTM and many thanks for the contribution.

@@ -64,7 +64,7 @@ docker-create - Create a new container
Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)

**--dns-search**=[]
Set custom DNS search domains
Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs a matching change in the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed eaa050f

Signed-off-by: Huayi Zhang <irachex@gmail.com>
@SvenDowideit
Copy link
Contributor

Docs LGTM - @crosbymichael @vieux @tiborvass @jfrazelle

@jessfraz
Copy link
Contributor

LGTM

1 similar comment
@crosbymichael
Copy link
Contributor

LGTM

crosbymichael added a commit that referenced this pull request Oct 31, 2014
@crosbymichael crosbymichael merged commit 0f9f5f3 into moby:master Oct 31, 2014
SvenDowideit pushed a commit to SvenDowideit/docker that referenced this pull request Nov 6, 2014
Add docs for --dns-search=.
(cherry picked from commit 0f9f5f3)
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

6 participants