Files
podman-static/test/quadlet/hello_world.container
V 71922828f8 Add quadlet (#119)
Add quadlet binary and register it as systemd unit generator.
When the tar archive is installed on a systemd-enabled host, the quadlet is called by systemd on `systemctl daemon-reload` to generate unit files based on *.container files within `/etc/containers/systemd`.

The quadlet binary is not contained within the minimal image (because it is actually meant to be published with the tar archive only since systemd is not used inside the container).
2025-03-13 03:09:45 +01:00

20 lines
275 B
Plaintext

[Unit]
Description=hello_world
After=local-fs.target
[Container]
Image=docker.io/hello-world
ContainerName=hello_world
# Network
PublishPort=8080:8080
# Environment
Environment=HELLO=WORLD
[Service]
Restart=on-failure
[Install]
WantedBy=multi-user.target default.target