Fix interactive exec over TLS

The code no longer assumes a net.TCPConn underlying the HTTP connection
in order to close attached streams.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Make 'docker build' send non-err output to stdout

Right now 'docker build' will send:
   Sending build context to Docker daemon
to stderr, instead of stdout.  This PR fixes that.

I looked in the rest of api/client/commands.go for other cases
that might do this and only one jumped out at me:
  https://github.com/docker/docker/blob/master/api/client/commands.go#L2202
but I think if I changed that to go to stdout then it'll mess people up
who are expecting just the container ID to be printed to the screen and
there is no --quiet type of flag we can check.

Closes #9404

Signed-off-by: Doug Davis <dug@us.ibm.com>
Return docker's root dir in docker -D info

This adds the docker daemon's root directory to docker info when running
in debug mode.  This allows the user to view the root directory where
docker is writing and storing state.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Removed race condition
If two interrupts were fired really quickly interruptCount could have been incremented twice before the LoadUint32 making cleanup not being called at all.

Signed-off-by: Erik Dubbelboer <erik@dubbelboer.com>
Merge pull request #9543 from ErikDubbelboer/racefix

Removed race condition
Merge pull request #9497 from icecrime/86580-tls_interactive_exec

Fix interactive exec over TLS
Merge pull request #9489 from crosbymichael/info-root

Return docker's root dir in docker -D info
Merge pull request #9512 from duglin/Issue9404

Make 'docker build' send non-err output to stdout
Running a container that links to a container with --net host
should throw an error.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #9567 from jfrazelle/8333-net-link-error

Throw error when container links to --net host container
Implement Docker on ZFS

Signed-off-by: Arthur Gautier <baloo@gandi.net>
Adds debug

Signed-off-by: Arthur Gautier <baloo@gandi.net>
Dockerfile: Use Ubuntu PPA instead of debian packages

As this is a Ubuntu base image, the PPA is probably a better fit.

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: remove duplicate ldflag

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: retrieve zpool name from root directory

- check on which filesystem the directory '/var/lib/docker' is located
- if its a zfs get the pool name from /proc/mounts

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: use local free() to reduce boilerplate code

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Reformat

Signed-off-by: Arthur Gautier <baloo@gandi.net>
Fix zpool opening

Signed-off-by: Arthur Gautier <baloo@gandi.net>
Replace libzfs by zfs-utils

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: Implement diff interface

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>