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

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

    • Icon: New Feature New Feature
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • docker-slaves-plugin
    • 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.

          [JENKINS-43790] Add a feature to Add/Configure name of the side container

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

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

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

              Created:
              Updated:
              Resolved: