Volume not writable

Hello,
I am running jenkins-ocean container from a windows machine.
I am trying to make one folder from the host available to the container like this:

  --volume C:/guidewire/1002/pc:/var/jenkins_home/workspace/DCA/pc

When I try to run my pipeline in jenkins I get the following exception:

Exception in thread "main" java.lang.RuntimeException: Could not create parent directory for lock file /var/jenkins_home/workspace/DCA/pc/gradle/cache/wrapper/dists/gradle/9rxxc7zqls0uj5pyuuqnsnp8t/gradle.zip.lck

The issue is that the user in the container is a non-root but the folder belongs to the root:

drwxrwxrwx 1 root root 4096 Oct 14 18:38 pc

Fust for testing I tried the following:

1 try to create a folder manually, I can except when I am inside of the volume folder.
2 run the container as root (docker container run --user 0 …) but still I cannot create files.

Has anyone faced this issue?

Thanks!