{"id":18088992,"url":"https://github.com/eriksjolund/podman-traefik-socket-activation","last_synced_at":"2026-01-19T00:34:05.266Z","repository":{"id":245690078,"uuid":"818957824","full_name":"eriksjolund/podman-traefik-socket-activation","owner":"eriksjolund","description":"Demo of how to run socket-activated Traefik with Podman. Source IP address is preserved.","archived":false,"fork":false,"pushed_at":"2025-09-13T10:07:27.000Z","size":38,"stargazers_count":55,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-13T12:06:51.040Z","etag":null,"topics":["container","demo","podman","socket-activation","systemd-service","traefik"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriksjolund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-23T11:13:08.000Z","updated_at":"2025-09-13T09:10:01.000Z","dependencies_parsed_at":"2024-10-31T17:42:38.532Z","dependency_job_id":"51d296bd-09d4-4086-9b63-7e517ee18468","html_url":"https://github.com/eriksjolund/podman-traefik-socket-activation","commit_stats":null,"previous_names":["eriksjolund/podman-traefik-socket-activation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eriksjolund/podman-traefik-socket-activation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fpodman-traefik-socket-activation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fpodman-traefik-socket-activation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fpodman-traefik-socket-activation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fpodman-traefik-socket-activation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriksjolund","download_url":"https://codeload.github.com/eriksjolund/podman-traefik-socket-activation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fpodman-traefik-socket-activation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28554403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T23:48:35.235Z","status":"ssl_error","status_checked_at":"2026-01-18T23:47:49.178Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","demo","podman","socket-activation","systemd-service","traefik"],"created_at":"2024-10-31T17:42:32.937Z","updated_at":"2026-01-19T00:34:05.261Z","avatar_url":"https://github.com/eriksjolund.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# podman-traefik-socket-activation\n\nThis demo shows how to run a socket-activated traefik container with Podman.\nSee also the tutorials [Podman socket activation](https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md) and\n[podman-nginx-socket-activation](https://github.com/eriksjolund/podman-nginx-socket-activation).\n\nOverview of the examples\n\n| Example | Type of service | Ports | Using quadlet | rootful/rootless podman | Comment |\n| --      | --              |   -- | --      | --   | --  |\n| [Example 1](examples/example1) | systemd user service | TCP/80, TCP/443 | yes | rootless podman | |\n| [Example 2](examples/example2) | systemd user service | TCP/80, TCP/443, UDP/443 | yes | rootless podman | HTTP/3 served both to the internet and to the custom network. Self-signed TLS |\n\n### Advantages of using rootless Podman with socket activation\n\nSee https://github.com/eriksjolund/podman-nginx-socket-activation?tab=readme-ov-file#advantages-of-using-rootless-podman-with-socket-activation\n\n### Discussion about SELinux\n\nWhen using the traefik option __--providers.docker__, traefik needs access to a unix socket\nthat provides the Docker API. By default the path to the unix socket is  _/var/run/docker.sock_.\nSELinux will by default block access to the file.\n\nCurrently, the problem is worked around by disabling SELinux for the traefik container.\n\nThe quadlet unit file contains this line:\n```\nSecurityLabelDisable=true\n```\n\nAnother workaround could have been to bind-mount the unix socket with the `:z` option,\nbut that would change the file context of the unix socket which might cause problems for\nother programs.\n\nSee also\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1495053#c2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fpodman-traefik-socket-activation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriksjolund%2Fpodman-traefik-socket-activation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fpodman-traefik-socket-activation/lists"}