docker-sdk-rust/docs/VolumeCreateOptions.md
2025-06-16 16:37:36 +07:00

929 B

VolumeCreateOptions

Properties

Name Type Description Notes
name Option<String> The new volume's name. If not specified, Docker generates a name. [optional]
driver Option<String> Name of the volume driver to use. [optional][default to local]
driver_opts Option<std::collections::HashMap<String, String>> A mapping of driver options and values. These options are passed directly to the driver and are driver specific. [optional]
labels Option<std::collections::HashMap<String, String>> User-defined key/value metadata. [optional]
cluster_volume_spec Option<models::ClusterVolumeSpec> [optional]

[Back to Model list] [Back to API list] [Back to README]