浏览代码

Merge pull request #7431 from tamsky/fixes-7105

add warning re: changing value of `dm.basesize`.
Michael Crosby 11 年之前
父节点
当前提交
e86d87e1ce
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      daemon/graphdriver/devmapper/README.md

+ 5 - 1
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
     10G. Note, thin devices are inherently "sparse", so a 10G device
     which is mostly empty doesn't use 10 GB of space on the
     which is mostly empty doesn't use 10 GB of space on the
     pool. However, the filesystem will use more space for the empty
     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:
     Example use: