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>
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>
Update openSUSE installation instructions

Out of box, the 'sudo' command on openSUSE does not work similarly to other distros.  In this case, the path to usermod should be explicitly given, since /usr/sbin, where usermod is located, is not on the sudoing user's PATH.  The other sudo commands here should be fine.
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.
Update libcontainer to db65c35051d05f3fb218a0e84a1

Signed-off-by: Michael Crosby <michael@docker.com>
Merge pull request #7634 from krrg/patch-1

Update openSUSE installation instructions
Merge pull request #7648 from crosbymichael/update-libcontainer-aug5

Update libcontainer to db65c35051d05f3fb218a0e84a1