Merge pull request #8026 from tonistiigi/validate-context-error-handling

Improve ValidateContextDirectory error handling.
Refactor all pre-compiled regexp to package level vars
Addresses #8057

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Fix for issue 7902.
Use utils.RFC3339NanoFixed ("2006-01-02T15:04:05.000000000Z07:00")
instead of time.RFC3339Nano to format our log timestamps - this way
things are aligned, in particular the nano seconds are padded with zeros

Signed-off-by: Doug Davis <dug@us.ibm.com>
DisableNetworkBidge doesn't need to be public anymore

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Return errors in NewDaemonFromDirectory instead of calling Fatal

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Proper JSON handling of strings that could be represented as other types
Addresses #6830

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
Merge pull request #8059 from estesp/8057-refactor-regexp-to-package-var

Refactor all pre-compiled regexp to package level vars
Merge pull request #8054 from estesp/6830-fix-json-strings

Proper JSON handling of strings that could be represented as other types
Adding docker exec support in CLI.
Fixed a bug in daemon that resulted in accessing of a closed pipe.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
Merge pull request #8063 from jlhawn/tarsum_empty_tar_archive

tarsum: correct close and finish reads
Merge pull request #8062 from vishh/run_in_phase2

Add support for 'docker exec' - phase 2
Add exec to autocompletions

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #8070 from jfrazelle/exec-autocompletions

Add exec to autocompletions
Merge pull request #7976 from duglin/Issue7902

Fix for issue 7902 - add trailing zeros to timestamps so logs align
Add some documentation for the RestartPolicy feature.

Signed-off-by: Jean-Paul Calderone <jean-paul@clusterhq.com>
Fix #7792 - Order mounts

Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Merge pull request #8035 from duglin/Issue7965

Add timeout to client - fix for #7965
Refactor use of graphdriver.Differ

Some graphdrivers are Differs and type assertions are made
in various places throughout the project. Differ offers some
convenience in generating/applying diffs of filesystem layers
but for most graphdrivers another code path is taken.

This patch brings all of the logic related to filesystem
diffs in one place, and simplifies the implementation of some
common types like Image, Daemon, and Container.

Signed-off-by: Josh Hawn <josh.hawn@docker.com>
graphdriver interface name change, typo fix

Signed-off-by: Josh Hawn <josh.hawn@docker.com>
Merge pull request #8055 from cpuguy83/7792_fix_volume_mount_ordering

Fix #7792 - Order mounts