diff --git a/volume/mounts/linux_parser.go b/volume/mounts/linux_parser.go index bcabe45720f63..1013a6bae725f 100644 --- a/volume/mounts/linux_parser.go +++ b/volume/mounts/linux_parser.go @@ -94,7 +94,9 @@ func (p *linuxParser) validateMountConfigImpl(mnt *mount.Mount, validateBindSour if err != nil { return &errMountConfig{mnt, err} } - if !exists { + + createMountpoint := mnt.BindOptions != nil && mnt.BindOptions.CreateMountpoint + if !exists && !createMountpoint { return &errMountConfig{mnt, errBindSourceDoesNotExist(mnt.Source)} } }