There is no Docker socket equivalent in Podman because there is no daemon to connect to. It doesn’t seem like it’s really required for Traefik though; it’s only used for automatic container discovery. But if you do need that, then you could follow this issue: https://github.com/containous/traefik/issues/5730
You can use the file-provider instead of the Docker-provider. This means doing the configuration in an old-fashioned config file and is less flexible but perfectly doable for a small/static setup: File - Traefik
I was not able to get Traefik working via Podman using File configuration, though my File config works fine on Docker. Have you had successful experience with Podman + Traefik?
If I swap out “podman” with “docker” the following scripts appear to work fine. However, when using podman, i get “404 page not found” when navigating to my URLs. Can you point out something I need to correct?
Since your config is working in Docker, I can only assume that it’s correct. It might be some kind of networking issue.
My service-containers don’t have IPs (I’m running all containers rootless) but if yours do have IPs you could try to use the container IPs instead of the host IP.
Sorry for late reply. I had got this working awhile back. I did end up identifying some syntax errors in the traefik dynamic file. I noticed this because even the docker implementation had some random errors. After making the correction to the routes, i got this working just fine in podman. Specifically, i had to create separate routes for “web” and “web-secure”, so there were two routes, instead of just one route.
Sure.
I did a bunch of find-and-replace on this output, so let me know if you need clarification on any varaibles that might mismatch, but i think i got them all replaced correctly.
These files show an example of two https services, and a UDP service (used for VPN routing).
I also did a bunch of find-and-replace without any success but it works with your configuration .
Thanks a lot!
The only issue I had was a DNS timeout with letsencrypt but I guess it has to do with the dnsname plugin from Podman. For now I solved it with a manual entry in my dnsmasq configuration.