dotcloud/docker — pull request #6720 by fabiofalci (2014-06-27 08:09:18+00:00)
Title: Relax dns search to accept empty domain

So now dns options can achieve all these scenarios related to `search` instruction on `resolv.conf`:

- Use host `resolv.conf` search, if no option is used.
- Use a custom search if `--dns-search=mysearch` is used.
- Do not include a search on `resolv.conf` if `--dns-search=''` is used.

The third scenario is the fix.