1
0
Fork 0
containerctl/generate
Enno Tensing a601e76a93
generate: container: Enable usage of host files / directories as volumes
From podman-create(1):

	If a volume source is specified, it must be a path on the host or the
	name of a named volume. Host paths are allowed to be absolute or relative;
	relative paths are resolved relative to the directory Podman is run in.
	If the source does not exist, Podman returns an error. Users must pre-create
	the source files or directories. Any source that does not begin with
	a . or / is treated as the name of a named volume.

Implement this with the is_host_volume() check.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-29 10:03:14 +02:00
..
container.py generate: container: Enable usage of host files / directories as volumes 2025-07-29 10:03:14 +02:00
generate.py generate: generate: Add a identifying header to generated scripts 2025-07-29 09:38:39 +02:00
log.py reuse: Add reuse information 2025-07-26 19:04:27 +02:00