Replies: 1 comment
-
traefik is looking for the docker.sock which Podman does not listen on automatically unless you install the podman-docker package. You can also set the DOCKER_HOST environment variable to point at the podman.sock. Finally make sure the podman.sock service is enabled. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am trying a traefik setup on podman and for some reason traefik is not picking up on new containers. The configuration works if used in docker, however not with podman. Everything seems to be configured properly, however no result. Would really appreciate some help on debugging this.
What I have so far. any help would be appreciated
(podman info)
(docker compose file for testing traefik - exchanged domain)
(command for test container to spin up)
(test of socket within traefik container using:
curl --unix-socket /run/docker.sock -X GET http://d/version
[d]``){"Platform":{"Name":"linux/amd64/debian-12"},"Components":[{"Name":"Podman Engine","Version":"4.9.3","Details":{"APIVersion":"4.9.3","Arch":"amd64","BuildTime":"1970-01-01T01:00:00+01:00","Experimental":"false","GitCommit":"","GoVersion":"go1.21.6","KernelVersion":"6.1.0-18-amd64","MinAPIVersion":"4.0.0","Os":"linux"}},{"Name":"Conmon","Version":"conmon version 2.1.6, commit: unknown","Details":{"Package":"conmon_2.1.6+ds1-1_amd64"}},{"Name":"OCI Runtime (runc)","Version":"runc version 1.1.12\ncommit: v1.1.12-0-g51d5e94\nspec: 1.0.2-dev\ngo: go1.21.8\nlibseccomp: 2.5.4","Details":{"Package":"containerd.io_1.6.28-2_amd64"}}],"Version":"4.9.3","ApiVersion":"1.41","MinAPIVersion":"1.24","GitCommit":"","GoVersion":"go1.21.6","Os":"linux","Arch":"amd64","KernelVersion":"6.1.0-18-amd64","BuildTime":"1970-01-01T01:00:00+01:00"}
(traefik.yml)
Beta Was this translation helpful? Give feedback.
All reactions