Sign inSign up

saruprim/factorio

By saruprim

•Updated 12 months ago

Factorio server

Image
0

370

saruprim/factorio repository overview

docker run -d --name factorio \
  -p 34197:34197/udp \
  -v factorio:/factorio \
  --restart=unless-stopped \
  saruprim/factorio

The latest stable version of the Factorio server is installed automatically when the container starts. If you need to update the server, simply stop and restart the container:

docker stop factorio && docker start factorio

Game saves are stored in a volume, so they will not be deleted.

The container starts up briefly, and you can monitor its progress with:

docker logs factorio -f

Default modifications are disabled, but you can enable them using environment variables:

docker run -d --name factorio \
  -p 34197:34197/udp \
  -v factorio:/factorio \
  -e ELEVATED_RAILS=true \
  -e QUALITY=true \
  -e SPACE_AGE=true \
  --restart=unless-stopped \
  saruprim/factorio

If you need an older server version, use:

-e VERSION=2.0.47

Compose:

services:
  factorio:
    image: saruprim/factorio
    container_name: factorio
    ports:
      - 34197:34197/udp
    volumes:
      - factorio:/factorio
    # environment:
      # ELEVATED_RAILS: "true"
      # QUALITY: "true"
      # SPACE_AGE: "true"
      # VERSION: "2.0.47"
    network_mode: bridge
    restart: unless-stopped
volumes:
  factorio:
    name: factorio

Tag summary

Content type

Image

Digest

sha256:adde597a5…

Size

63 MB

Last updated

12 months ago

docker pull saruprim/factorio