Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43790

Add a feature to Add/Configure name of the side container

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          ndeloof Nicolas De Loof added a comment -

          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

          Show
          ndeloof Nicolas De Loof added a comment - 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

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              utkarsh1003 Utkarsh Kumar
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: