Factorio headless game server as a Docker image.
 
Go to file
Icedream 89769fc396
Update versions listed in Readme.
2017-02-09 14:06:35 +01:00
config Initial commit. 2017-01-27 12:57:52 +01:00
.dockerignore Docker: Ignore changes to Markdown files. 2017-01-27 14:09:01 +01:00
Dockerfile Update to Factorio 0.14.22. 2017-02-07 10:16:01 +01:00
README.md Update versions listed in Readme. 2017-02-09 14:06:35 +01:00
config-path.cfg Initial commit. 2017-01-27 12:57:52 +01:00

README.md

Factorio Docker image

This image includes the headless build of Factorio with paths set to store data in the /data folder and configuration in the /config folder which can both be used as volumes.

Available tags

All available tags are always listed in Docker Hub, the list below explains the maintained tags:

Older versions:

  • 0.13.20, 0.13
  • 0.12.35, 0.12

Starting a server

Creating the savefile

Before first start up you should make sure to create a save file for the server to load by running:

docker run --rm \
    -v /path/to/data:/data \
    -v /path/to/config:/config \
    icedream/factorio:0.14.21 \
    /opt/factorio/bin/x64/factorio --create /data/saves/my-save.zip

After that you can use the given volumes for running the server, for example using Docker Compose!

Example Docker Compose file

version: "2"

services:
    factorio:
        # The image to use, version number of the server can be used as a tag.
        image: icedream/factorio:0.14.21

        # Volumes to mount in
        volumes:
            - /path/to/data:/data
            - /path/to/config:/config

        # Optionally replace the command to run to configure further details
        # or even make use of map generation or server settings files.
        #command: /opt/factorio/bin/x64/factorio --start-server-load-latest --rcon-password somepassword