So I understand that using the default “loopback” model is not recommended in production.
However I’m not clear if the following configuration is safe for production or not.
I’m interested in preserving the application logs after the container is stopped/removed.
So in order to do this my solution would be to have a dedicated mounted disk and use the -v option to link the log directory to the container.
Now, if the application running inside the container only writes the log files to the log directory is this safe to use with the default loopback model?