How do i read from the filesystem within Springboot?

Ive been tasked with generating a file in a springboot backend and then saving it in the front end.

In a non-docker prototyping environment this works correctly, however within a dockerized project the filesystem can not be accessed with a simple Java IO File object. Does anyone have example of reading and writing files within a docker project? Thanks!

It is the same as it is outside of containers except there could be permission issues because of volumes, files mounted from the host. If you can share details of your issue with error logs and commands or code snippets, you can get much more help than hoping someone acidentally finds out what you could have done wrong :slight_smile:

Don’t forget to format your post properly: How to format your forum posts