# Traefik docker socket

**URL:** <https://community.traefik.io/t/traefik-docker-socket/29807>\
**Category:** Traefik v3 (latest)\
**Tags:** docker\
**Created:** [April 6, 2026, 7:09pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807 "2026-04-06T19:09:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrnoname](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/mrnoname/32/6893_2.png) [@mrnoname](https://community.traefik.io/u/mrnoname)\
**Post date:** [April 6, 2026, 7:09pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/1 "2026-04-06T19:09:43Z")

</div>

hello,

I want to connect to my docker-socket proxy provided by [linuxserver.io](http://linuxserver.io), but I want to keep it reading my local docker containers.

can someone help please

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [April 6, 2026, 7:11pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/2 "2026-04-06T19:11:27Z")

</div>

What’s your challenge, did you read the docs? Here is a [simple Docker socket proxy example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-traefik-socket-proxy), maybe that helps a bit.

---

<div class="post-metadata">

**Author:** ![mrnoname](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/mrnoname/32/6893_2.png) [@mrnoname](https://community.traefik.io/u/mrnoname)\
**Post date:** [April 9, 2026, 11:17am UTC](https://community.traefik.io/t/traefik-docker-socket/29807/3 "2026-04-09T11:17:11Z")

</div>

My challenge?, I have my traefik container reading my network proxy containers on the local machine but I wanna make it so it reads the docker containers on my other docker machine but using the docker socket proxy

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [April 9, 2026, 1:58pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/4 "2026-04-09T13:58:05Z")

</div>

You can read another machines Docker containers, but that won’t help, as the configuration discovery will use the containers internal IPs, which are probably not reachable from the first machine.

Maybe use Docker Swarm to connect the nodes?

---

<div class="post-metadata">

**Author:** ![mrnoname](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/mrnoname/32/6893_2.png) [@mrnoname](https://community.traefik.io/u/mrnoname)\
**Post date:** [April 9, 2026, 6:45pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/5 "2026-04-09T18:45:17Z")

</div>

Still quite a newbie when it comes to docker so I rely on a lot of guides, so wouldn't know where to start with docker swarm with traefik, if I had a detailed guide I'd try it out.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [April 9, 2026, 7:32pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/6 "2026-04-09T19:32:29Z")

</div>

Docker Swarm is used as an easy orchestrator, to schedule and run services on multiple nodes/machines.

Using `constraints` in compose file, you can pin certain services to certain nodes.

Maybe check [simple Traefik Swarm example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-swarm-traefik).

---

<div class="post-metadata">

**Author:** ![mrnoname](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/mrnoname/32/6893_2.png) [@mrnoname](https://community.traefik.io/u/mrnoname)\
**Post date:** [April 10, 2026, 2:19pm UTC](https://community.traefik.io/t/traefik-docker-socket/29807/7 "2026-04-10T14:19:19Z")

</div>

ah, if I had someone walking me through how to setup traefik with docker swarm… I did check the link u provided, I was lost haha
