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

ATH Docker Fixtures might fail using Docker-Machine

XMLWordPrintable

      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.

            asotobueno Alex Soto
            asotobueno Alex Soto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: