Restrict repository names from matching hexadecimal strings

To avoid conflicting with layer IDs, repository names must
not be tagged with names that collide with hexadecimal strings.

Signed-off-by: Eric Windisch <eric@windisch.us>
The correct option for go test is -test.run not -run
zsh: update zsh completion for docker command

zsh completion is updated with the content of
felixr/docker-zsh-completion.

The major change since the last merge is the removal of use of
sed/awk. This should help a lot OSX users who previously had to install
gawk and gsed.

Docker-DCO-1.1-Signed-off-by: Vincent Bernat <vincent@bernat.im> (github: vincentbernat)
Fix SEGFAULT if dns resolv error

Per registry.doRequest, res and client might be nil in case of error
For example, dns resolution errors, /etc/docker/certs.d perms, failed
loading of x509 cert ...
This will make res.StatusCode and res.Body SEGFAULT.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
added a css fix for the image bug issue

Docker-DCO-1.1-Signed-off-by: Nathan Hsieh <hsieh.nathan@gmail.com>
(github: nhsiehgit)
Merge pull request #7908 from nhsiehgit/issue363imgfix

added a css fix for the image bug issue
add C# docker client library link

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
Merge pull request #7933 from ahmetalpbalkan/doc-remote_api_client_libraries.md

add C# docker client library link to remote API client libraries doc
Include directories that contain changes inside them when calculating diff. Fixes #6722

Docker-DCO-1.1-Signed-off-by: Leszek Kowalski <github@leszekkowalski.pl> (github: ljk)
fixes #7802, when api version 1.11 is `json.Marshal`ing the container struct

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com> (github: )
Merge pull request #7868 from baloo/patch-1

Switch TESTFLAGS to use `-test.run` instead of `-run`
Merge pull request #7914 from jfrazelle/7802-backwards-compat-state

fixes #7802, when api version 1.11 is `json.Marshal`ing the container st...
Fix line delimited JSON response

For GET /events, line delimit JSON.
Fixes #7047

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com> (github: )
Merge pull request #7886 from jfrazelle/7047-json-line-delim

Fix line delimited JSON response
integ-cli: test correct directory permissions

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
integ-cli: increase verbosity for mem & cpu test

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #7920 from unclejack/fix_layer_permissions

ensure correct permissions are set for directories
Merge pull request #7609 from ewindisch/max_imgname

Restrict length of repository names
Merge pull request #7938 from unclejack/make_run_test_verbose

integ-cli: increase verbosity for mem & cpu test
Merge pull request #7871 from vincentbernat/update/zsh-completion-1

zsh: update zsh completion for docker command