Closed WLun001 closed 2 years ago
That's weird, I'll check it.
Happy Spring Festival~
新年快乐
Hi @WLun001 I've noticed that you set the user account for running docker.
user: 1000:1000
Currently no default user is created in the Quickshare docker image, so the process is owned by root internal the docker.
I guess the quickshare.db
in the volume is owned by the root, then the action (opening db by uid=1000) is rejected.
I'll add a patch to create a default user and group in the image.
One quick workaround might removing user: 1000:1000
so it will be started by the root in the docker. Let me know if it doesn't work.
hitting permission denied with custom config
docker-compose.yml
config.yml
Output
The volume
./quickshare
has the correct ownerWithout the volume mount config, it will run smoothly