vendor: github.com/docker/docker d633169483bbe22b92b8310c47e827451b594364
Notable changes: - introduce CreateMountpoint for parity between binds and mounts full diff: https://github.com/docker/docker/compare/c9d04033d443e359e73e5da58a6b46ec1b8f237...d633169483bbe22b92b8310c47e827451b594364 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
+4
@@ -380,6 +380,10 @@ definitions:
|
||||
description: "Disable recursive bind mount."
|
||||
type: "boolean"
|
||||
default: false
|
||||
CreateMountpoint:
|
||||
description: "Create mount point on host if missing"
|
||||
type: "boolean"
|
||||
default: false
|
||||
VolumeOptions:
|
||||
description: "Optional configuration for the `volume` type."
|
||||
type: "object"
|
||||
|
||||
+3
-2
@@ -82,8 +82,9 @@ const (
|
||||
|
||||
// BindOptions defines options specific to mounts of type "bind".
|
||||
type BindOptions struct {
|
||||
Propagation Propagation `json:",omitempty"`
|
||||
NonRecursive bool `json:",omitempty"`
|
||||
Propagation Propagation `json:",omitempty"`
|
||||
NonRecursive bool `json:",omitempty"`
|
||||
CreateMountpoint bool `json:",omitempty"`
|
||||
}
|
||||
|
||||
// VolumeOptions represents the options for a mount of type volume.
|
||||
|
||||
Reference in New Issue
Block a user