Add HasValidGITPrefix to utils/utils.go

This will allow us to use a common Git prefix check for both api/clients/commands.go and
builder/job.go. Previous prefix check in build from Git (in builder/jobs.go) ignored valid prefixes such as "git@", "http://" or "https://".

Signed-off-by: Lakshan Perera <lakshan@laktek.com>
Clear the internal state ourselves before raising error.

If we need to raise an error, make sure the internal state is clean, because
a successful driver.Get() may have its internal state changed (eg. counting,
or mounts), while callers will only do that after a succussful Mount().

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
Add docs for --dns-search=.

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

Signed-off-by: Huayi Zhang <irachex@gmail.com>
Merge pull request #8850 from shuai-z/clean-mount

Clear the internal state before raising error.
Yes, the review really should have picked up this spelling mistake

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
ubuntulinux.md - old commands, typo, section movement

- Removed some commands related to autocomplete/symlinks that don't seem to be required anymore on Ubuntu 14.04
- Fixed one minor typo ("see LINK _for_ details," not "see LINK details")
- Moved section "Giving non-root access" to top level, rather than being under Ubuntu 13 (the section isn't specific to Ubuntu 13, and even references Ubuntu 14).

Signed-off-by: Scott Walls <sawalls@umich.edu>
Merge pull request #8873 from SvenDowideit/de-cleanup-Dockerfile

Yes, the review really should have picked up this spelling mistake
Fix docker exec command help messages

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Merge pull request #8837 from sawalls/patch-2

ubuntulinux.md - old commands, typo, section movement
Mapping change in code

Signed-off-by: Huayi Zhang <irachex@gmail.com>
Typo in 1.3.1 change log

Replaced envrionment -> environment

Signed-off-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Reword a sentence bringing confusion about docker links

As [discovered][1] doing user support, the sentence `You've learned that a link creates a
source container that can provide information about itself to a recipient container` brings
confusion.

[1]: http://stackoverflow.com/questions/26652877/how-to-avoid-redundant-container-linking-in-docker-when-propagating-ip-addresses/26654203?noredirect=1#comment41945048_26654203

Signed-off-by: Thomas LEVEIL <thomasleveil@gmail.com>
Merge pull request #8839 from irachex/dns-search-doc

Add docs for --dns-search=.
add missing 'current filter' to ps

Signed-off-by: Victor Vieux <vieux@docker.com>
pkg/proxy: Bump the maximum size of a UDP packet.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #8895 from erikh/proxy_udp_size

pkg/proxy: Bump the maximum size of a UDP packet.
Merge pull request #8894 from vieux/fix_docs_filter

add missing 'current filter' to ps
Merge pull request #8878 from thaJeztah/patch-1

Typo in 1.3.1 change log
Merge pull request #8818 from coolljt0725/fix_exec_help

Fix docker exec help messages.
Merge pull request #8468 from laktek/master

Fix URL check in build from Git.