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>
pkg/tarsum: avoid buf2 allocation in Read

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
update the cli / man page docs based on what is in master right now

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Remove internet dependency from TestBuildCacheADD

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Add GoDoc and Travis build link/images to README

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
Fix search test for busybox image

Signed-off-by: Michael Crosby <michael@docker.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 #7628 from crosbymichael/fix-search-test

Fix search test for busybox image
Merge pull request #7604 from SvenDowideit/docs-update

update the cli / man page docs based on what is in master right now
Merge pull request #7613 from VojtechVitek/godoc_travis

Add GoDoc and Travis build link/images to README
Merge pull request #7602 from unclejack/tarsum_garbage_reduction

pkg/tarsum: avoid buf2 allocation in Read
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)
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.