mirror of
https://github.com/containers/podman.git
synced 2026-03-05 07:20:48 -05:00
If a path (Yaml, ConfigMap, EnvFile) starts with a systemd path specifier, treat the path as absolute Add tests - unit, e2e and bats Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
17 lines
645 B
Plaintext
17 lines
645 B
Plaintext
## assert-podman-args -v /host/dir:/container/volume
|
|
## assert-podman-args -v /host/dir2:/container/volume2:Z
|
|
## assert-podman-args-regex -v .*/podman_test.*/quadlet/host/dir3:/container/volume3
|
|
## assert-podman-args -v named:/container/named
|
|
## assert-podman-args -v systemd-quadlet:/container/quadlet
|
|
## assert-podman-args -v %h/container:/container/volume4
|
|
|
|
[Container]
|
|
Image=localhost/imagename
|
|
Volume=/host/dir:/container/volume
|
|
Volume=/host/dir2:/container/volume2:Z
|
|
Volume=./host/dir3:/container/volume3
|
|
Volume=/container/empty
|
|
Volume=named:/container/named
|
|
Volume=quadlet.volume:/container/quadlet
|
|
Volume=%h/container:/container/volume4
|