Open thmo opened 1 week ago
Actually it's even worse. If one tries to work around the limitation of this bug, creation of the instantiated pod fails:
foo@bar-pod[1703114]: Error: running pod create option: names must match [a-zA-Z0-9][a-zA-Z0-9_.-]*: invalid argument
systemd[1]: foo@bar-pod.service: Control process exited, code=exited, status=125/n/a
Maybe related to #22874
Hi Thomas,
Yes Quadlet has an issue when referencing templated Quadlet files.
You can see my comment here: https://github.com/containers/podman/discussions/17744#discussioncomment-9856920, though it refers to linked .build
files, the same applies for .pod
files.
Issue Description
Referenzing a templated
.pod
quadlet from a templated.container
quadlet doesn't seem to be possible.Steps to reproduce the issue
Create these quadlet files:
And run
/usr/lib/systemd/system-generators/podman-system-generator --dryrun
.Describe the results you received
Describe the results you expected
A service file for the container, referenzing the pod, using
%i
, as the instance name might be unknown.podman info output