spiegel_podman/pkg/specgenutil
Ygal Blum 64ec31ac00 Add nocreate option for named volumes
Add a per-volume 'nocreate' option that prevents automatic creation of
named volumes when they don't exist. When specified, Podman will fail
if the volume is not found instead of creating it automatically.

Usage: -v myvolume:/data:nocreate
       --mount type=volume,src=myvolume,dst=/data,nocreate

See: #27862
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2026-02-26 11:14:32 -05:00
..
createparse.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go Merge pull request #28008 from shiv-tyagi/vendor-detection 2026-02-12 18:54:34 +01:00
specgenutil_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
specgenutil_windows_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
util.go Remove CNI-specific code paths from libpod 2026-01-27 16:32:38 +05:30
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go Add nocreate option for named volumes 2026-02-26 11:14:32 -05:00
volumes_test.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00