Public | Automated Build

Last pushed: a year ago
Short Description
factorio docker
Full Description

Factorio Server

Start a new game

docker run --rm -v "factorio_saves:/factorio/saves" hugecannon/factorio:latest --create mygame

Run Factororio server

docker run -d --name factorio \
  -p "34197:34197/udp" \
  -v "factorio_saves:/factorio/saves" \
  hugecannon/factorio:latest \
  --start-server mygame

Load a previous save to server

# ensure server is stopped
docker kill factorio

# copy save into volume
docker cp mygame.zip factorio:/factorio/saves/

# start server again
docker start factorio

Back up a save games (this backs up all saves including autosaves)

docker cp factorio:/factorio/saves .

Versions

If you require an older version of the server, see the tags page, and use the appropriate tag. e.g. hugecannon/factorio:0.12.25

Docker Pull Command
Owner
davidbadura
Source Repository

Comments (0)