Return container exit code with start -a/-i
Addresses #8555

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
builder: handle cases where onbuild is not uppercase.

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

builder: handle cases where onbuild is not uppercase.
Fix racy integration tests

Do not run containers in the background in the integration tests if you
depend on the run completing.  It is better especially if you just want
to ensure that the run has completed with a `true` to just run in
foreground and use a known name for the container to query it after it
has stopped.

The failures can be reproduced on most machines by giving your dind
container one core and a cpushare.

docker run -c 200 --cpuset 0 -ti --rm --privileged -e
DOCKER_GRAPHDRIVER=vfs docker hack/make.sh binary test-integration-cli

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #8661 from estesp/8555-start-exit-code

Return container exit code with start -a/-i
Merge pull request #8691 from crosbymichael/fix-integration-race

Fix racy integration tests
Deprecating ResolveRepositoryName

Passing RepositoryInfo to ResolveAuthConfig, pullRepository, and pushRepository

Moving --registry-mirror configuration to registry config

Created resolve_repository job

Repo names with 'index.docker.io' or 'docker.io' are now synonymous with omitting an index name.

Adding test for RepositoryInfo

Adding tests for opts.StringSetOpts and registry.ValidateMirror

Signed-off-by: Don Kjer <don.kjer@gmail.com>

gofmt changes

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Fixing search term use of repoInfo

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Adding integration tests for registry mirror configuration

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Normalizing LookupImage image name to match LocalName parsing rules

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Normalizing repository LocalName to avoid multiple references to an official image

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Fixing merge issue

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Removing errorOut use in tests

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Removing TODO comment

Signed-off-by: Don Kjer <don.kjer@gmail.com>