Clean Cock
No permission for file saving when hosting .net apps on docker.
I'm learning ASP .NET and I'm trying to make a simple API that recieves files and saves them on filesystem. Everything works fine when saving locally, but when running on docker and saving to a volume I always get permission denied.
The problem seems to be caused because owner of the volume is "root" but current user is "app". I'm not really sure how to change it.
32 replies