I have a container that is using a db stored in /app/db
. The /db folder as well as everything inside it is stored inside a volume to make it persistent. I have used sudo docker run -v db_volume:/app/db -it --privileged accumulator
to run it
Now, if I try to copy the content of the volume in my Documents folder and try to access the .db, I can’t because Ubuntu says I have no permissions.
From what I have understood the only permitted entity to access, read and write the file inside the volume attached to the container is the container itself.
Is there a way to grant my Ubuntu user access of the .db as I need to analyze it with a db viewer software?