Status: Fixed but Unreleased (View Workflow)
Environment:Windows 2016 with Docker version 18.03.1-ce (docker works on cmd-line)
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.