moby--moby/daemon/graphdriver/zfs
Ken Herner e918340431 Add support for setting storage size on zfs containers
Now supports setting a containers storage size when using zfs as the
storage engine.  By passing in `--storage-opt size=<size>`, the created
container's storage size will be limited to the given size.  Note that
the way zfs works, the given specified storage size will be given in
addition to the base container size.

Example:

The node image reports a size of `671M` from `df -h` when started.
Setting `--storage-opt size=2G` will result in a drive the size of
`671M` + `2G`, `2.7G` in total.  Available space will be `2.0G`.

The storage size is achieved by setting the zfs option `quota` to the
given size on the zfs volume.

Signed-off-by: Ken Herner <kherner@progress.com>
2016-05-19 14:49:04 -04:00
..
MAINTAINERS
zfs.go Add support for setting storage size on zfs containers 2016-05-19 14:49:04 -04:00
zfs_freebsd.go
zfs_linux.go
zfs_test.go reorder imports with goimports 2015-12-16 16:50:25 +01:00
zfs_unsupported.go