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

docker-plugin should support windows containers

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • docker-plugin
    • None
    • Windows 2016 with Docker version 18.03.1-ce (docker works on cmd-line)
      docker-plugin 1.1.4
      Jenkins 2.125 running on CentOS 6.8
      Oracle JDK 1.8

      I've attempted to make this work out of the box using the "Attached" method and encountered the following issues:

      • Leaving everything on defaults results in error running "/bin/sh".  
      • Specifying a command copied from a linux docker container (java -jar ROOT\remoting ...) did not work any better (this is a hack).    I get "System cannot find the path specified", with forward or back slashes.
      • Volume mounting does not work due to colons in paths ( acom.github.dockerjava.api.model.Bind.parse(Bind.java:130) Caused: java.lang.IllegalArgumentException: Error parsing Bind 'c:/jenkins:c:/jenkins').   This works on command-line.

      I'm currently testing with a vanilla microsoft docker image (microsoft/windowsservercore) with JDKs mounted via "Volumes From" a temporary container since volume parsing is broken.

      Any advice or comments on feasibility would be appreciated.

            Unassigned Unassigned
            akom Alexander Komarov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: