Status: Resolved (View Workflow)
When using ATH Docker fixture feature, depending on the method you call for starting a new container, might result on a failure if running under Docker-Machine.
The problem is that bindIp is hardcoded to 127.0.0.1 (https://github.com/jenkinsci/acceptance-test-harness/blob/b27c150f35a386dfced4a5960127bf62f9c34363/src/main/java/org/jenkinsci/test/acceptance/docker/DockerImage.java#L32)
The solution might be exploring DOCKER_HOST environment variable and try to get the ip from there.
- links to
Code changed in jenkins
User: Robert Sandell
Merge pull request #79 from lordofthejars/
JENKINS-33107 JENKINS-33107Docker Fixtures might fail using Docker-Machine