You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller - Unix
Docker Host - Windows 10 20H2 (19042.1415)
Docker Server Version: 20.10.12
Docker Image base: mcr.microsoft.com/dotnet/framework/sdk:latest
Reproduction steps
Added "Docker" cloud in Jenkins
Pointed to Docker
Added "Docker Agent Template"
Configure template to use Connect method: Attach Docker Container
Run my pipeline pointing to the new agent template.
Expected Results
Docker container started and Jenkins attaches to the container.
Actual Results
The "Enable" option in the cloud configuration for the Agent Template shows the following error:
Note: Disabled 4.7 sec ago due to error. Will re-enable in 4 min 55 sec.
Reason: Template provisioning failed.
com.github.dockerjava.api.exception.InternalServerErrorException: {"message":"filesystem operations against a running Hyper-V container are not supported"} at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:109) at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33) at
...
Anything else?
I have tried the "Connect with SSH" option but run into the same issue #745 with Could not find the file /root in container
The text was updated successfully, but these errors were encountered:
I've implemented the uber-simple fix that I proposed above and merged that into the codebase so that'll be in the next official release of the docker-plugin.
You'll find a pre-release at https://ci.jenkins.io/job/Plugins/job/docker-plugin/job/master/ where you can download the .hpi file and then upload it to your Jenkins instance using manage plugins -> advanced.
Please let me know (by commenting here) if that fixes the issue.
If it doesn't fix the issue, please re-open this and/or let me know (by commenting here).
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller - Unix
Docker Host - Windows 10 20H2 (19042.1415)
Docker Server Version: 20.10.12
Docker Image base: mcr.microsoft.com/dotnet/framework/sdk:latest
Reproduction steps
Expected Results
Docker container started and Jenkins attaches to the container.
Actual Results
The "Enable" option in the cloud configuration for the Agent Template shows the following error:
Anything else?
I have tried the "Connect with SSH" option but run into the same issue #745 with
Could not find the file /root in container
The text was updated successfully, but these errors were encountered: