Adding docs for "overlay2.size" storage-opt

Signed-off-by: Dhawal Yogesh Bhanushali <dbhanushali@vmware.com>
Upstream-commit: ff2552f7a1
Component: cli
This commit is contained in:
Dhawal Yogesh Bhanushali
2017-06-20 13:53:09 -07:00
parent 59836240bc
commit 241ddf7729

View File

@ -740,6 +740,18 @@ to add multiple lower directory support for OverlayFS. This option should
only be used after verifying this support exists in the kernel. Applying
this option on a kernel without this support will cause failures on mount.
##### `overlay2.size`
Sets the default max size of the container. It is supported only when the
backing fs is `xfs` and mounted with `pquota` mount option. Under these
conditions the user can pass any size less then the backing fs size.
###### Example
```bash
$ sudo dockerd -s overlay2 --storage-opt overlay2.size=1G
```
### Docker runtime execution options
The Docker daemon relies on a