Skip to content

Commit 35c9659

Browse files
ndeloofglours
authored andcommitted
add support for bind mount recursive
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 97c49fc commit 35c9659

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

schema/compose-spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@
419419
"properties": {
420420
"propagation": {"type": "string"},
421421
"create_host_path": {"type": ["boolean", "string"]},
422+
"recursive": {"type": "string", "enum": ["enabled", "disabled", "writable", "readonly"]},
422423
"selinux": {"type": "string", "enum": ["z", "Z"]}
423424
},
424425
"additionalProperties": false,

types/derived.gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ type ServiceVolumeBind struct {
556556
SELinux string `yaml:"selinux,omitempty" json:"selinux,omitempty"`
557557
Propagation string `yaml:"propagation,omitempty" json:"propagation,omitempty"`
558558
CreateHostPath bool `yaml:"create_host_path,omitempty" json:"create_host_path,omitempty"`
559+
Recursive string `yaml:"recursive,omitempty" json:"recursive,omitempty"`
559560

560561
Extensions Extensions `yaml:"#extensions,inline,omitempty" json:"-"`
561562
}

0 commit comments

Comments
 (0)