CmdID / docker / docker volume
docker volume create
Create a volume Docker CLI reference
13 options Its page in the Docker CLI reference
Options
--availabilityCluster Volume availability (active, pause, drain)--driver, -dSpecify volume driver name--groupCluster Volume group (cluster volumes)--labelSet metadata for a volume--limit-bytesMinimum size of the Cluster Volume in bytes--opt, -oSet driver specific options--required-bytesMaximum size of the Cluster Volume in bytes--scopeCluster Volume access scope (single, multi)--secretCluster Volume secrets--sharingCluster Volume access sharing (none, readonly, onewriter, all)--topology-preferredA topology that the Cluster Volume would be preferred in--topology-requiredA topology that the Cluster Volume must be accessible from--typeCluster Volume access type (mount, block)