From 241ddf77293d384cd9143433ee6a9726c0b36cb4 Mon Sep 17 00:00:00 2001 From: Dhawal Yogesh Bhanushali Date: Tue, 20 Jun 2017 13:53:09 -0700 Subject: [PATCH] Adding docs for "overlay2.size" storage-opt Signed-off-by: Dhawal Yogesh Bhanushali Upstream-commit: ff2552f7a1073834e79793aeb5dc5a4e486956a4 Component: cli --- components/cli/docs/reference/commandline/dockerd.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/cli/docs/reference/commandline/dockerd.md b/components/cli/docs/reference/commandline/dockerd.md index 95a953f1c4..3e2d434974 100644 --- a/components/cli/docs/reference/commandline/dockerd.md +++ b/components/cli/docs/reference/commandline/dockerd.md @@ -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