mirror of
https://github.com/containers/podman.git
synced 2025-10-16 10:43:52 +08:00
podman volume create --opt=o=timeout...
add an option to configure the driver timeout when creating a volume. The default is 5 seconds but this value is too small for some custom drivers. Signed-off-by: cdoern <cdoern@redhat.com>
This commit is contained in:
@ -55,6 +55,8 @@ type VolumeConfig struct {
|
||||
// DisableQuota indicates that the volume should completely disable using any
|
||||
// quota tracking.
|
||||
DisableQuota bool `json:"disableQuota,omitempty"`
|
||||
// Timeout allows users to override the default driver timeout of 5 seconds
|
||||
Timeout int
|
||||
}
|
||||
|
||||
// VolumeState holds the volume's mutable state.
|
||||
|
Reference in New Issue
Block a user