Reputation: 1
I'm moving from a classic jar deployment to a containerized deployment of my java 21 application.
For that purpose I like to create my container image with spring-boot-maven-plugin with the goal build-image-no-fork. Currently using all standard settings.
So far so good. The image gets built and the container starts up. But while running I have issues with permissions inside the container. Logfiles (in the container) or disk persisted ehcache files are not able to be created: File permission issues.
I know, that logifles and these cache files should not be inside the container, but for migration purposes, this is a temporary requirement.
Is there a way to adjust user permissions for the app running in the container?
Upvotes: 0
Views: 78