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:
Sebastiaan van Stijn
2022-05-19 23:12:08 +02:00
parent 0e4dde2487
commit d945856e68
5 changed files with 12 additions and 7 deletions
+4
View File
@@ -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
View File
@@ -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.