I have a Jenkins stack running in my Docker Swarm. I want to use the Jenkins Docker Swarm plugin to allow me to use my swarm to spin up slaves, but I cannot figure out the API URI section.
It requires it in the format http://ip:2376
and I can see that my Docker daemon is exposed as the socket but also as tcp://ip:2376
but it can't seem to connect back to the host. I am using Traefik as a reverse proxy and the jenkins is in the proxy network as it has an external URL.
Do I need to add a config to Traefik to allow the container to talk to the host?