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

DOCKER_HOST set on slave ignored by docker-pipeline

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: docker-workflow-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Using a docker slave, I do not bind mount docker.sock (sic) but expose docker API via a filtering proxy using DOCKER_HOST env variable

      docker-pipeline doesn't detect volumes used for `/home/jenkins` when I use `docker.inside` and fails to share workspace.

       

      root reason is `docker inspect` is ran with node.environment, without consideration for environment variables set as node properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: