factoriotools / factorio-docker

Factorio headless server in a Docker container
https://hub.docker.com/r/factoriotools/factorio/
MIT License
918 stars 218 forks source link

Unable to run with Rootless Docker configuration. #496

Open ScidaJ opened 1 month ago

ScidaJ commented 1 month ago

Hello, I have a little server box running NixOS, and I'm trying to launch the container to complete the setup, however the container fails to launch with the error chown: changing ownership of '/factorio': Operation not permitted The line that fails is chown -R factorio:factorio /factorio

I have followed all of the setup instructions as best I could, but solving this issue has eluded me.

I launch the container using docker-compose up -d, as my Docker is configured Rootless as is described in the NixOS and Docker documentation.

Any help is appreciated.