Hello I am trying to run my container with --read-only, but when I receive a request for multipart upload i tries to create a temporary file:
java.nio.file.FileSystemException: /tmp/undertow3773194840223053389upload: Read-only file system.
Is it possible to make it only in memory?
thanks =)
You can use something like below
docker run -it --read-only --tmpfs /tmp alpine sh
This will allow you to write files in /tmp
. So what you need is a additional --tmpfs /tmp
in your docker run
command