mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
Add support for Volumes and Networks Add e2e and system tests Resolves: https://github.com/containers/podman/issues/25136 Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
11 lines
650 B
Plaintext
11 lines
650 B
Plaintext
## assert-podman-args-key-val "--mount" "," "type=volume,source=systemd-template-dependency-%i,destination=/path/in/container,ro=true"
|
|
## assert-podman-args -v systemd-template-dependency-%i:/container/quadlet
|
|
## assert-podman-args "--network" "systemd-template-dependency-%i"
|
|
## assert-key-is "Unit" "Requires" "template-dependency-network@.service" "template-dependency-volume@.service" "template-dependency-volume@.service"
|
|
|
|
[Container]
|
|
Image=localhost/imagename
|
|
Mount=type=volume,source=template-dependency@.volume,destination=/path/in/container,ro=true
|
|
Volume=template-dependency@.volume:/container/quadlet
|
|
Network=template-dependency@.network
|