pub type VolumeCreateCreateParam = VolumeCreate;
Expand description
Details for creating a volume
Aliased Type§
pub struct VolumeCreateCreateParam {
pub driver: String,
pub driver_opts: HashMap<String, String>,
pub labels: HashMap<String, String>,
pub name: String,
}
Fields§
§driver: String
Name of the volume driver to use.
driver_opts: HashMap<String, String>
A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
labels: HashMap<String, String>
User-defined key/value metadata.
name: String
The new volume’s name. If not specified, Docker generates a name.