Enable `docker search` on private docker registry.
The cli interface works similar to other registry related commands:

  docker search foo

... searches for foo on the official hub

  docker search localhost:5000/foo

... does the same for the private reg at localhost:5000

Signed-off-by: Daniel Menet <membership@sontags.ch>
Expand hostname before passing it to NewRegistry()

Signed-off-by: Daniel Menet <membership@sontags.ch>
Enable `docker search` on private docker registry.
The cli interface works similar to other registry related commands:

  docker search foo

... searches for foo on the official hub

  docker search localhost:5000/foo

... does the same for the private reg at localhost:5000

Signed-off-by: Daniel Menet <membership@sontags.ch>
Expand hostname before passing it to NewRegistry()

Signed-off-by: Daniel Menet <membership@sontags.ch>
resolved merge conflict

Signed-off-by: Daniel Menet <membership@sontags.ch>
Remove internet dependency from TestBuildCacheADD

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
allow /etc/hosts /etc/resolv.conf and /etc/hostname to be changed

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
add tests

Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
add small doc

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #7608 from LK4D4/remove_internet_dep

Remove internet dependency from TestBuildCacheADD
Added warning re: using root for dockerfile root. Fixes #7612

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Use HTTPS for newsletter signup form

This is causing an insecure HTTPS error in Chrome 37.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Fixed a typo and added a bit based on Sven's feedback

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Cleanup: correct cli --volumes-from description

issue #7580 volumes-from comma separated list mentioned this case.

Options like --volumes-from=[] indicate they can be specified multiple times:
docker run -it --rm --volumes-from TEST_DATA --volumes-from TEST_DATA2 ubuntu bash

Signed-off-by: Deshi Xiao <dxiao@redhat.com>
Merge pull request #7640 from xiaods/develop

Cleanup: correct cli --volumes-from description
Merge pull request #7635 from bfirsh/docs-https-newsletter-url

Use HTTPS for newsletter signup form
Merge pull request #7633 from fredlf/root_builder_warning

Added warning re: using root for dockerfile root. Fixes #7612
Merge pull request #5129 from vieux/host_resolv

allow /etc/hosts /etc/resolv.conf and /etc/hostname to be changed
Merge pull request #7495 from sontags/enable_search_on_private_reg

Enable `docker search` on private docker registry.
fix check-config.sh to check for CGROUP_PERF

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)