Sagemath in Docker cannot access host files
I spent the last day trying to compile sagemath from sources on Fedora 42 KDE. I don't want to list all the problems I had. At the end it "almost" worked, but plot do not seem to work.
Then I tried with Docker, that is much more simple, the only drawback is that from the container I cannot access host files. I know I can tell the "docker run" command to mount a host directory, but the only place I found more or less convenient is /mnt, but then I have permissions problems. Also, I can build a new image on top of the given one, in which make some modification, for example the creation of a directory under the home, but I don't know well Docker, so I would like to ear the suggestions of people more expert than me.