File Location in Docker

Hello
I have a question about temporary file locations before saving.
When asked to save a document, where is the temporary file located?
I am on Kubernetes and when I try to save a document, it only works when the command goes to the right POD, so I would like to be able to create a permanent volume in order to store these files there and that they are accessible by all pods.
I hope to have been clear.
Thanks in advance