Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot create directory '/factorio/saves': Permission denied #555

Open
icheered opened this issue Nov 27, 2024 · 0 comments
Open

cannot create directory '/factorio/saves': Permission denied #555

icheered opened this issue Nov 27, 2024 · 0 comments

Comments

@icheered
Copy link

icheered commented Nov 27, 2024

On a fresh docker-compose on my nixos system running docker in rootless mode I get the error in the title.

mkdir my_factorio
sudo chown 845:845 my_factorio
docker-compose up factorio

My docker-compose.yml:

  factorio:
    image: factoriotools/factorio:2.0.21
    container_name: factorio
    ports:
      - "34197:34197/udp"
      - "27015:27015/tcp"
    volumes:
      - ./my_factorio:/factorio
    restart: unless-stopped
    stdin_open: true
    tty: true

I am running NixOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant