Add tmpfs as mount type (#4704)

tmpfs was missing in the mount types of volumes long syntax.
This commit is contained in:
Sébastien HOUZÉ 2017-09-25 18:30:50 +00:00 committed by Jim Galasyn
parent cff51937f7
commit 0c9ad498f9
1 changed files with 2 additions and 2 deletions

View File

@ -1609,10 +1609,10 @@ should always begin with `.` or `..`.
The long form syntax allows the configuration of additional fields that can't be
expressed in the short form.
- `type`: the mount type `volume` or `bind`
- `type`: the mount type `volume`, `bind` or `tmpfs`
- `source`: the source of the mount, a path on the host for a bind mount, or the
name of a volume defined in the
[top-level `volumes` key](#volume-configuration-reference)
[top-level `volumes` key](#volume-configuration-reference). Not applicable for a tmpfs mount.
- `target`: the path in the container where the volume will be mounted
- `read_only`: flag to set the volume as read-only
- `bind`: configure additional bind options