Closed czhang03 closed 4 weeks ago
As with all weird permission error, this is caused by selinux. The fix is to add :Z
flag to the volume binding:
volumes:
- /home/homeconsole/containers/deconz/config:/opt/deCONZ:Z
More info on debugging permission issues:
Here is my docker compose file:
When I run
docker-compose up
in the dir of the above yml file, I saw a lot of "permission denied" error regarding creating file within the config folder, like the following:The config folder is indeed always empty, and the setting will not persist after restart.
Here is the permission of
/opt/deCONZ
within the container:Here is the permission of
/home/homeconsole/containers/deconz/config
on the host machine:And the group and id of my current user:
I am running on fedora silverblue.