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

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

    XMLWordPrintable

Details

    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

          utkarsh1003 Utkarsh Kumar created issue -
          utkarsh1003 Utkarsh Kumar made changes -
          Field Original Value New Value
          Summary Add a feature to Add/Configure name of the side container Add a feature to Add/Configure Image name of the side container
          utkarsh1003 Utkarsh Kumar made changes -
          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 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.
          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.
          utkarsh1003 Utkarsh Kumar made changes -
          Summary Add a feature to Add/Configure Image name of the side container Add a feature to Add/Configure name of the side 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

          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
          ndeloof Nicolas De Loof made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: