• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • docker-slaves-plugin
    • None

      Docker-slaves do start containers with a single docker endpoint. With docker-swarm, cluster is responsible to distribute on cluster. But with Docker 1.12 swarm mode this isn't the case anymore, and client has to create a service to get a comparable result.

          [JENKINS-38203] Support docker 1.12 swarm mode

          I've been working with getting some Docker stuff set up in our teams' Jenkins infrastructure and for now you are best to use the Swarm Standalone version and not the new Docker Swarm Mode which uses services. This is because there is no way to currently remove a particular replica - the only option you have is to scale down the service which just seems to pick any container at random which means you can potentially kill off an active node.

          Richard Bywater added a comment - I've been working with getting some Docker stuff set up in our teams' Jenkins infrastructure and for now you are best to use the Swarm Standalone version and not the new Docker Swarm Mode which uses services. This is because there is no way to currently remove a particular replica - the only option you have is to scale down the service which just seems to pick any container at random which means you can potentially kill off an active node.

          doesn't mean jenkins couldn't use multiple services each with a single instance to get the required functionality

          David van Laatum added a comment - doesn't mean jenkins couldn't use multiple services each with a single instance to get the required functionality

            Unassigned Unassigned
            ndeloof Nicolas De Loof
            Votes:
            14 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: