Skip to content

Commit fe6416d

Browse files
author
Shishir Mahajan
committed
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>
1 parent e070503 commit fe6416d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎docs/reference/commandline/create.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,13 @@ then be used from the subsequent container:
149149
drwx--S--- 2 1000 staff 460 Dec 5 00:51 .ssh
150150
drwxr-xr-x 32 1000 staff 1140 Dec 5 04:01 docker
151151

152-
Set storage driver options per container.
152+
Set storage driver options per container.
153153

154154
$ docker create -it --storage-opt size=120G fedora /bin/bash
155155

156156
This (size) will allow to set the container rootfs size to 120G at creation time.
157-
User cannot pass a size less than the Default BaseFS Size.
157+
User cannot pass a size less than the Default BaseFS Size. This option is only
158+
available for the `devicemapper`, `btrfs`, and `zfs` graph drivers.
158159

159160
### Specify isolation technology for container (--isolation)
160161

‎docs/reference/commandline/run.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ The `-w` lets the command being executed inside directory given, here
186186
$ docker create -it --storage-opt size=120G fedora /bin/bash
187187

188188
This (size) will allow to set the container rootfs size to 120G at creation time.
189-
User cannot pass a size less than the Default BaseFS Size.
189+
User cannot pass a size less than the Default BaseFS Size. This option is only
190+
available for the `devicemapper`, `btrfs`, and `zfs` graph drivers.
190191

191192
### Mount tmpfs (--tmpfs)
192193

0 commit comments

Comments
 (0)