You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,8 +73,9 @@ On all other platforms, this field is REQUIRED.
73
73
This value MUST be an absolute path.
74
74
* Windows: one mount destination MUST NOT be nested within another mount (e.g., c:\\foo and c:\\foo\\bar).
75
75
* Solaris: corresponds to "dir" of the fs resource in [zonecfg(1M)][zonecfg.1m].
76
-
***`source`** (string, OPTIONAL) A device name, but can also be a directory name or a dummy.
77
-
Path values are either absolute or relative to the bundle.
76
+
***`source`** (string, OPTIONAL) A device name, but can also be a file or directory name for bind mounts or a dummy.
77
+
Path values for bind mounts are either absolute or relative to the bundle.
78
+
A mount is a bind mount if it has either `bind` or `rbind` in the options.
78
79
* Windows: a local directory on the filesystem of the container host. UNC paths and mapped drives are not supported.
79
80
* Solaris: corresponds to "special" of the fs resource in [zonecfg(1M)][zonecfg.1m].
80
81
***`options`** (array of strings, OPTIONAL) Mount options of the filesystem to be used.
@@ -100,7 +101,7 @@ On all other platforms, this field is REQUIRED.
100
101
For POSIX platforms the `mounts` structure has the following fields:
101
102
102
103
***`type`** (string, OPTIONAL) The type of the filesystem to be mounted.
103
-
* Linux: filesystem types supported by the kernel as listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660").
104
+
* Linux: filesystem types supported by the kernel as listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660"). For bind mounts (when `options` include either `bind` or `rbind`), the type is a dummy, often "none" (not listed in */proc/filesystems*).
104
105
* Solaris: corresponds to "type" of the fs resource in [zonecfg(1M)][zonecfg.1m].
105
106
106
107
### Example (Linux)
@@ -115,7 +116,7 @@ For POSIX platforms the `mounts` structure has the following fields:
0 commit comments