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>
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>
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 #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
Merge pull request #7862 from Gandi/bugfixes/segfault-registry-session

Fix SEGFAULT if dns resolv error