From f7a1b920abbcf83cb402fd027bf060b9e47d3053 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Thu, 28 Apr 2022 21:43:51 +0200 Subject: [PATCH] introduce tmpfs.mode Signed-off-by: Nicolas De Loof --- schema/compose-spec.json | 3 ++- spec.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/schema/compose-spec.json b/schema/compose-spec.json index b3485bee..50f13d88 100644 --- a/schema/compose-spec.json +++ b/schema/compose-spec.json @@ -404,7 +404,8 @@ {"type": "integer", "minimum": 0}, {"type": "string"} ] - } + }, + "mode": {"type": "number"} }, "additionalProperties": false, "patternProperties": {"^x-": {}} diff --git a/spec.md b/spec.md index df712a38..645bbfb6 100644 --- a/spec.md +++ b/spec.md @@ -1864,6 +1864,7 @@ expressed in the short form. - `nocopy`: flag to disable copying of data from a container when a volume is created - `tmpfs`: configure additional tmpfs options - `size`: the size for the tmpfs mount in bytes (either numeric or as bytes unit) + - `mode`: the filemode for the tmpfs mount as Unix permission bits as an octal number - `consistency`: the consistency requirements of the mount. Available values are platform specific ### volumes_from