Open 366-christoforos opened 9 months ago
Running into this as well. AWS Fargate does not support docker images which have VOLUME declarations. So these 2 are the offending lines: https://github.com/jenkinsci/docker-agent/blob/798ce6450f7143c341e236e5962becf0b5e1b864/windows/windowsservercore/Dockerfile#L98-L99
They should not be necessary for correct functionality of the agent, so would be nice if they can somehow be optional or removed.
Jenkins and plugins versions report
CannotCreateVolumeError: unsupported: Dockerfile contains VOLUME instruction
I search in dockerfile but i cannot see any volume anywhere :/
Docker image: jenkins/inbound-agent:windowsservercore-ltsc2019
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins 2.387.3
Reproduction steps
Expected Results
work with out the error.
Actual Results
break with error message
CannotCreateVolumeError: unsupported: Dockerfile contains VOLUME instruction
Anything else?
no