Skip to content

Commit b3918a2

Browse files
author
Michael Crosby
committed
Add bind mount example
Signed-off-by: Michael Crosby <[email protected]>
1 parent aa7e143 commit b3918a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Additional file systems can be declared as "mounts", declared by the array eleme
3838

3939
* **type** (string, required) Linux, *filesystemtype* argument supported by the kernel are listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660"). Windows: ntfs
4040
* **source** (string, required) a device name, but can also be a directory name or a dummy. Windows, the volume name that is the target of the mount point. \\?\Volume\{GUID}\ (on Windows source is called target)
41-
* **destination** (string, required) where the file system is mounted relative to the container rootfs.
41+
* **destination** (string, required) where the source file system is mounted relative to the container rootfs.
4242
* **options** (string, optional) in the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab).
4343

4444
*Example (Linux)*
@@ -64,11 +64,11 @@ Additional file systems can be declared as "mounts", declared by the array eleme
6464
"options": "nosuid,noexec,newinstance,ptmxmode=0666,mode=0620,gid=5"
6565
},
6666
{
67-
"type": "tmpfs",
68-
"source": "shm",
69-
"destination": "/dev/shm",
70-
"options": "nosuid,noexec,nodev,mode=1777,size=65536k"
71-
},
67+
"type": "bind",
68+
"source": "/volumes/testing",
69+
"destination": "/data",
70+
"options": "rbind,rw"
71+
}
7272
]
7373
```
7474

0 commit comments

Comments
 (0)