-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.7.1
Docker Workflow Plugin 1.7
Docker Swarm Cluster of Docker 1.12 nodes
New release of Docker introduced a few new features, like the new Swarm mode, which now seem incompatible with Docker Workflow Plugin.
Previously (Docker < 1.12) executing 'docker run' against the Swarm manager endpoint would run a container on one of the nodes in the Docker Swarm cluster. This is what made Docker Workflow Plugin indispensable for us.
Since Docker 1.12 was released it seems that executing 'docker run' against the Swarm manager will only run the container on the manager node. Instead new 'service' model was introduced for container load balancing across the Swarm cluster, which Docker Workflow Plugin does not seem to support yet.
- links to
Better call required Swarm commands directly from a sh step.