Hi,
I'm using a SSH-communicating, dynamically provisioned docker-plugin-cloud which uses the mounted docker.sock of the parent to spawn postgresql/wildfly containers in the pipeline as needed.
Is there any way of using dynamic names/ports so that multiple slaves don't cause container name collisions (all using the parent docker dock)? Of course, using docker-in-docker would give the
containers separate namespaces but apparently it has some downsides, too. Another approach could be to use scripting to determine a free container name/port from the docker.sock but that would
leave the complication of the appserver datasource being hardcoded to some postgresql container etc.
How have you solved this?
Thanks in advance,
Nik