Jelajahi Sumber

PR 19367 doc change: Mention supported drivers for --storage-opt size option in docker create/run.

Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
(cherry picked from commit fe6416d04fb3ccd83fe4fb3a73f0364b88da730a)
Shishir Mahajan 9 tahun lalu
induk
melakukan
16274ba940
2 mengubah file dengan 5 tambahan dan 3 penghapusan
  1. 3 2
      docs/reference/commandline/create.md
  2. 2 1
      docs/reference/commandline/run.md

+ 3 - 2
docs/reference/commandline/create.md

@@ -149,12 +149,13 @@ then be used from the subsequent container:
     drwx--S---  2 1000 staff  460 Dec  5 00:51 .ssh
     drwx--S---  2 1000 staff  460 Dec  5 00:51 .ssh
     drwxr-xr-x 32 1000 staff 1140 Dec  5 04:01 docker
     drwxr-xr-x 32 1000 staff 1140 Dec  5 04:01 docker
 
 
-Set storage driver options per container. 
+Set storage driver options per container.
 
 
     $ docker create -it --storage-opt size=120G fedora /bin/bash
     $ docker create -it --storage-opt size=120G fedora /bin/bash
 
 
 This (size) will allow to set the container rootfs size to 120G at creation time. 
 This (size) will allow to set the container rootfs size to 120G at creation time. 
-User cannot pass a size less than the Default BaseFS Size. 
+User cannot pass a size less than the Default BaseFS Size. This option is only 
+available for the `devicemapper`, `btrfs`, and `zfs` graph drivers.
 
 
 ### Specify isolation technology for container (--isolation)
 ### Specify isolation technology for container (--isolation)
 
 

+ 2 - 1
docs/reference/commandline/run.md

@@ -186,7 +186,8 @@ The `-w` lets the command being executed inside directory given, here
     $ docker create -it --storage-opt size=120G fedora /bin/bash
     $ docker create -it --storage-opt size=120G fedora /bin/bash
 
 
 This (size) will allow to set the container rootfs size to 120G at creation time. 
 This (size) will allow to set the container rootfs size to 120G at creation time. 
-User cannot pass a size less than the Default BaseFS Size.
+User cannot pass a size less than the Default BaseFS Size. This option is only 
+available for the `devicemapper`, `btrfs`, and `zfs` graph drivers.
 
 
 ### Mount tmpfs (--tmpfs)
 ### Mount tmpfs (--tmpfs)