moby--moby/daemon/graphdriver
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
..
aufs refactor overlay storage driver compatibility check 2016-05-10 18:22:36 +02:00
btrfs Add disk quota support for btrfs 2016-05-05 14:35:13 +08:00
devmapper Merge pull request #21945 from rhvgoyal/export-min-free-space 2016-05-02 20:20:08 -04:00
graphtest Merge pull request #20525 from Microsoft/sjw/update-graphdriver-create 2016-04-08 20:44:03 -07:00
overlay refactor overlay storage driver compatibility check 2016-05-10 18:22:36 +02:00
register Move graph driver registration out of the daemon package. 2015-12-28 13:02:24 -05:00
vfs Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00
windows Windows: reexec when importing layers 2016-05-13 18:16:11 -07:00
zfs Add support for setting storage size on zfs containers 2016-05-19 14:49:04 -04:00
counter.go Add refcounts to graphdrivers that use fsdiff 2016-04-21 12:19:57 -04:00
driver.go Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00
driver_freebsd.go Move layer mount refcounts to mountedLayer 2016-03-23 14:42:52 -07:00
driver_linux.go Move layer mount refcounts to mountedLayer 2016-03-23 14:42:52 -07:00
driver_unsupported.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
driver_windows.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
fsdiff.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
plugin.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
plugin_unsupported.go Create extpoint for graphdrivers 2015-09-09 20:24:35 -04:00
proxy.go Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00