-
I have these files # /etc/containers/systemd/traefik/traefik.container
[Unit]
# Commented out as it does not find these
#Requires=traefik.socket
#After=traefik.socket
[Container]
Image=docker.io/library/traefik:3.3
EnvironmentFile=traefik.env
[Install]
WantedBy=default.target # /etc/containers/systemd/traefik/traefik.socket
[Unit]
Description=Traefik
[Socket]
ListenStream=0.0.0.0:80
ListenStream=0.0.0.0:443
#ListenDatagram=0.0.0.0:443
[Install]
WantedBy=sockets.target then i run $ sudo systemctl daemon-reload
$ sudo systemctl start traefik.socket
Failed to start traefik.socket: Unit traefik.socket not found. running $ sudo systemctl start traefik.service does work. I am on Debian sid with podman 5.3.2 |
Beta Was this translation helpful? Give feedback.
Answered by
kaaax0815
Feb 5, 2025
Replies: 1 comment 2 replies
-
The E.g. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kaaax0815
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
socket
Service File is not used by quadlet unfortunately. Therefore you have to have them at a place that systemd looks.E.g.
/etc/systemd/system/traefik.socket