Usage
Arguments
Volume name
Options
Set metadata for a volume (can be specified multiple times)
Set driver specific options (can be specified multiple times)
Size of the volume in bytes, with optional K, M, G, T, or P suffix
Enable debug output
Examples
Anonymous volumes
Anonymous volumes are auto-created when using-v /path or --mount type=volume,dst=/path without specifying a source. They use UUID-based naming (anon-{36-char-uuid}):
Named volumes persist even after containers are deleted, making them ideal for database storage and application data.