Update documentation for EXPOSE

The documentation for EXPOSE seems to indicate, that EXPOSE is only relevant in
the context of links, which is not the case.

Signed-off-by: Jacob Atzen <jatzen@gmail.com>
Merge pull request #9332 from jacobat/patch-1

Update documentation for EXPOSE
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
zfs: improve error message, when dataset is not readable

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: fix cases where lookupZfsDataset fails:

- don't abort if an unaccessible mount point is found
- check if mountpoint is really a zfs dataset

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
zfs: cleanup after image building was aborted

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