Skip to content

Docker Machine picking wrong network for Public IP

Hello @Turmio,

Thanks for your MR on the "official" fork, sadly I saw the reject response...

I'll use your fork, or maybe host/fork on my side to get it working.

I have a problem when gitlab-runner is scaling new instances, I get some instances with Network A and some instances with Network B as Docker Machine URL...

IPs given by DHCP on Network B aren't reachable by the gitlab-runner, so each instance should have Network A (Public IP) as primary network

I've defined --openstack-net-name with Network A and Network B in this order in config.toml and CLI run.

Any idea on why this isn't working as expected ?

Thanks !