瀏覽代碼

Merge pull request #13561 from icecrime/warn_overlay_docs

Add note about overlay not being production ready
Sebastiaan van Stijn 10 年之前
父節點
當前提交
1613897d2d
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/sources/reference/commandline/cli.md

+ 6 - 0
docs/sources/reference/commandline/cli.md

@@ -293,6 +293,12 @@ The `overlay` is a very fast union filesystem. It is now merged in the main
 Linux kernel as of [3.18.0](https://lkml.org/lkml/2014/10/26/137). Call
 Linux kernel as of [3.18.0](https://lkml.org/lkml/2014/10/26/137). Call
 `docker -d -s overlay` to use it.
 `docker -d -s overlay` to use it.
 
 
+> **Note:**
+> As promising as `overlay` is, the feature is still quite young and should not
+> be used in production. Most notably, using `overlay` can cause excessive
+> inode consumption (especially as the number of images grows), as well as
+> being incompatible with the use of RPMs.
+
 > **Note:**
 > **Note:**
 > It is currently unsupported on `btrfs` or any Copy on Write filesystem
 > It is currently unsupported on `btrfs` or any Copy on Write filesystem
 > and should only be used over `ext4` partitions.
 > and should only be used over `ext4` partitions.