Skip to content

Commit 54bf07e

Browse files
authored
Merge pull request compose-spec#252 from ndeloof/tmpfs_mode
introduce `tmpfs.mode`
2 parents 6c1f542 + f7a1b92 commit 54bf07e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

schema/compose-spec.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@
404404
{"type": "integer", "minimum": 0},
405405
{"type": "string"}
406406
]
407-
}
407+
},
408+
"mode": {"type": "number"}
408409
},
409410
"additionalProperties": false,
410411
"patternProperties": {"^x-": {}}

spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,7 @@ expressed in the short form.
18641864
- `nocopy`: flag to disable copying of data from a container when a volume is created
18651865
- `tmpfs`: configure additional tmpfs options
18661866
- `size`: the size for the tmpfs mount in bytes (either numeric or as bytes unit)
1867+
- `mode`: the filemode for the tmpfs mount as Unix permission bits as an octal number
18671868
- `consistency`: the consistency requirements of the mount. Available values are platform specific
18681869

18691870
### volumes_from

0 commit comments

Comments
 (0)