Ok nvrmnd, found a workaround by using the --expose argument when starting 
a Docker container

Op donderdag 14 augustus 2014 16:23:25 UTC+2 schreef Nico Mommaerts:
>
> Hey,
>
> I have multipe Jenkins instances running as Docker containers. I have each 
> one configured with the same fixed jnlp port, but I map that port to a 
> different one for each container upon starting.
> Now when I use the swarm client (with the -master option to connect to a 
> specific master), it connects to the master correctly and requests the jnlp 
> port, however Jenkins returns the port it thinks it is running. Since this 
> port is mapped to the outside as a different one, the client cannot connect.
>
> Anybody else using swarm + docker? Would there be a solution to this 
> problem?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to