On windows the permission for the mounted volumn is read only even when the docker compose file has rw.
The issue is seen only on windows and not on linux.
The Docker compose file has the volume defined as follows
Container_1:
image: test/cont1
container_name: container_test_1
user: tomcat:tomcat
networks:
default:
ipv4_address: 10.29.5.71
ports:
- “18443:8443” # https
volumes:
- /dev/urandom:/dev/random # speed up tomcat start: http://stackoverflow.com/a/26024403
- ${LOG_DIR}/test-temp:/opt/test/test-temp:rw
The test-temp directory mounted in the container only has Read access.