mirror of
https://github.com/apple/container.git
synced 2026-07-13 21:17:05 +00:00
f90f67ccf0
- Closes #726. ## Type of Change - [ ] Bug fix - [x] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context Adds support for anonymous volumes. Users can now create volumes without explicit naming using `-v /path` and `--mount type=volume,dst=/path` syntax. Usage: ``` # anonymous volume container run -v /data alpine container run -v anon-01k7jpghe4kg4ph5a4vkccksbb:/data alpine # Multiple anonymous volumes container run --rm -v /logs -v /cache -v /tmp alpine ``` ## Testing - [x] Tested locally - [x] Added/updated tests - [x] Added/updated docs