Skip to content

Commit

Permalink
Add bind mount example
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
  • Loading branch information
crosbymichael committed Jun 30, 2015
1 parent aa7e143 commit b3918a2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Additional file systems can be declared as "mounts", declared by the array eleme

* **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
* **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)
* **destination** (string, required) where the file system is mounted relative to the container rootfs.
* **destination** (string, required) where the source file system is mounted relative to the container rootfs.
* **options** (string, optional) in the fstab format [https://wiki.archlinux.org/index.php/Fstab](https://wiki.archlinux.org/index.php/Fstab).

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

Expand Down

0 comments on commit b3918a2

Please sign in to comment.