From bd30746e07e18942cea4f2d15a45fd357c957e4f Mon Sep 17 00:00:00 2001 From: Marc Tamsky Date: Tue, 5 Aug 2014 19:28:07 -0700 Subject: [PATCH] add warning re: changing value of `dm.basesize`. Signed-off-by: Marc Tamsky (github: tamsky) --- daemon/graphdriver/devmapper/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/graphdriver/devmapper/README.md b/daemon/graphdriver/devmapper/README.md index bf6f2c792c..f8eb2faca7 100644 --- a/daemon/graphdriver/devmapper/README.md +++ b/daemon/graphdriver/devmapper/README.md @@ -43,7 +43,11 @@ Here is the list of supported options: 10G. Note, thin devices are inherently "sparse", so a 10G device which is mostly empty doesn't use 10 GB of space on the pool. However, the filesystem will use more space for the empty - case the larger the device is. + case the larger the device is. **Warning**: This value affects the + system-wide "base" empty filesystem that may already be + initialized and inherited by pulled images. Typically, a change + to this value will require additional steps to take effect: 1) + stop `docker -d`, 2) `rm -rf /var/lib/docker`, 3) start `docker -d`. Example use: