Merge pull request #215 from imkin/default-max-size-param-doc

Adding docs for "overlay2.size" storage-opt
This commit is contained in:
Sebastiaan van Stijn 2017-06-28 14:23:34 -07:00 committed by GitHub
commit 0ec3e8a8d5
1 changed files with 12 additions and 0 deletions

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