docker.inside to rely on runC

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      docker.inside does a bind mount of the workspace, assuming the docker daemon is a local one. If we admit this assumption, then we should better rely on runC (docker 1.11 and later) that allows to exec inside a container with support for --env and --cwd, two options that `docker exec` doesn't support (and won't support, according to docker roadmap)

      This would allow to avoid relying on `env` hack (https://github.com/jenkinsci/docker-workflow-plugin/blob/master/src/main/java/org/jenkinsci/plugins/docker/workflow/WithContainerStep.java#L225) and fix JENKINS-33510

            Assignee:
            Unassigned
            Reporter:
            Nicolas De Loof
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: