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>
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)
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>
zfs: log concrete zfs commands instead of function calls

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: no longer limit build to linux

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: adapt to new Differ interface

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

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
add go-zfs dependency to hack/vendor.sh

If patches needed by docker zfs driver will be accepted mistifyio/go-zfs will
used instead of Mic92/go-zfs. Then the source will be also checked in dockers
version control

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: improve error message, when dataset is not readable

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