HomarrH
Homarr12mo ago
33 replies
Wannoyeah

Unable to start Homarr on Fedora Server 41 using docker compose

Hi, I'm currently facing an issue with homarr when trying to start it with docker compose. It probably has something to do with SELinux, but I'm not sure how to fix it. Other containers are running fine. I'm using recomended docker compose and my appdata is set to a folder in my home dir:
/home/wann/docker/homarr/appdata:/appdata
Solution
OK. We made it! I've added :Z to volume in my
docker-compose.yml
like this:
 - /home/wann/docker/homarr/appdata:/appdata:Z 

and I've added SELinux rule with:
chcon -Rt svirt_sandbox_file_t /home/wann/docker/homarr/appdata


After that I've restarted the container, and now it works. 🎊

Thanks for the help and quick response!
Was this page helpful?