Traefik docker socket

hello,

I want to connect to my docker-socket proxy provided by linuxserver.io, but I want to keep it reading my local docker containers.

can someone help please

What’s your challenge, did you read the docs? Here is a simple Docker socket proxy example, maybe that helps a bit.

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

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?

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.

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.

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