bdcp
Docker non-root access volume for runtime image
I have this
Dockerfile
Something like File.WriteAllText("/home/app/data/file.txt", "lorem ipsum")
get permission denied when the volume is mounted in linux
I've tried many things related to docker. I suspect it's how the dotnet/runtime image is setup might be the issue. But i'm not that advanced.
Ideally, i would like to save the file to /data
instead of /home/app/data
6 replies