-
New Feature
-
Resolution: Not A Defect
-
Minor
-
None
I am using docker slave plugin to run a testing environment.
I have a main container and 3 side container each for database(mysql,redis and mongodb).
I want a field in the plugin using which i can assign name to each databse container(say mysql1, redis1 and mongodb1 etc).
By default random names(ex. dazzling_lumiere) are assigned to the containers by docker when containers are build.By specifying a fix name, the name can be further used for connection to that specific container.
using a fixed container name would prevent concurrent builds.
docker-slaves do configure your containers to all share the same network namespace, so you can access all those services as "localhost" with adequate port