fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Support readonly docker filesystem

Open mooreds opened this issue 1 year ago • 0 comments

Support readonly docker filesystem

Problem

I want to run the FusionAuth docker image with a readonly filesystem, but I can't. FusionAuth fails to start up, I see a message like:

sed: couldn't open temporary file /opt/openjdk/conf/security/sedxxx: Read-only file system

Solution

Allow me to set readOnlyRootFilesystem: true on my docker image. Maybe do any editing in the first stage?

Alternatives/workarounds

  • Edit the start.sh file to not modify ${JAVA_DIR}/current/conf/security/java.security as it currently does.
  • Build a custom docker image?

Additional context

Came out of https://github.com/FusionAuth/fusionauth-containers/issues/87 , reported by @GlebKuzmich

This behavior began in 1.37.

Looks related to https://github.com/FusionAuth/fusionauth-issues/issues/1814

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

mooreds avatar Oct 17 '22 15:10 mooreds