Use dual-stack Dialer when talking to registy

Signed-off-by: Gleb M. Borisov <borisov.gleb@gmail.com>
Fix stdout premature EOF

Never close attached stream before both stdout and stderr have written
all their buffered contents. Remove stdinCloser because it is not needed
any more as the stream is closed anyway after attach has finished.

Fixes #3631

Signed-off-by: Andy Goldstein <agoldste@redhat.com>
Add a link to some documentation about exec.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
registry/endpoint: make it testable

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Merge pull request #8571 from ncdc/3631-stdout-premature-eof

Fix stdout premature EOF
archive: preserve hardlinks in Tar and Untar

* integration test for preserving hardlinks

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
archive: example app for diffing directories

By default is a demo of file differences, but can be used to create a
tar of changes between an old and new path.

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
archive: cleanup and more information

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Merge pull request #8669 from monsterzz/8668-dualstack-registry

Use dual-stack Dialer when talking to registy
Merge pull request #8046 from vbatts/vbatts-archive_preserve_hard_links

archive: preserve hardlinks in Tar and Untar
Merge pull request #8387 from vbatts/vbatts-registry_test_enpoint

registry/endpoint: make it testable
Adds new Docs Style Guide.

Includes changes to mkdocs yml and removes style info from docs Read Me, adding a link instead.

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)

Conflicts:
	docs/README.md

Revisions to style guide based on review.

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)

More Style Guide revisions based on review.

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)

A few more style guide copy edits

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
Merge pull request #8500 from fredlf/style-guide

Adds new Docs Style Guide.
Merge pull request #8747 from SvenDowideit/lets-tell-them-more-about-exec

Add a link to some documentation about exec.
pkg/reexec: move reexec code to a new package

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
doc: Update host integration article

Update for changes in docker 1.2. Running the docker daemon with "-r=false" has been deprecated in favor of per-container restart policies.

Signed-off-by: wilsaj <wilson.andrew.j+github@gmail.com>
Merge pull request #8856 from unclejack/reexec_pkg

pkg/reexec: move reexec code to a new package
Merge pull request #8822 from wilsaj/patch-2

Update host integration article
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>
Fix for merge issue

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