All Projects → carloe → docker-factorio

carloe / docker-factorio

Licence: other
Factorio Game Server in Docker

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-factorio

graftorio2
(fork of graftorio) factorio mod for creating grafana dashboard
Stars: ✭ 42 (+55.56%)
Mutual labels:  factorio
Archipelago
Archipelago Multi-Game Randomizer and Server
Stars: ✭ 109 (+303.7%)
Mutual labels:  factorio
clusterio
internet communication for factorio mods
Stars: ✭ 218 (+707.41%)
Mutual labels:  factorio
docker-factorio
Docker image for Factorio Dedicated server
Stars: ✭ 20 (-25.93%)
Mutual labels:  factorio
mapshot
Factorio mod to export maps as zoomable html
Stars: ✭ 39 (+44.44%)
Mutual labels:  factorio
CFAN
The Cool Factorio Archive Network
Stars: ✭ 14 (-48.15%)
Mutual labels:  factorio
cnide
Circuit Network IDE for Factorio
Stars: ✭ 36 (+33.33%)
Mutual labels:  factorio
autotorio
autotorio.com
Stars: ✭ 56 (+107.41%)
Mutual labels:  factorio
m-microcontroller
Factorio mod: program circuit network logic using FAL, a Factorio Assembly Language.
Stars: ✭ 13 (-51.85%)
Mutual labels:  factorio
FactoryPlanner
A mod for Factorio. It allows you to plan out your production in detail.
Stars: ✭ 45 (+66.67%)
Mutual labels:  factorio
factorio
Factorio headless server Docker container
Stars: ✭ 25 (-7.41%)
Mutual labels:  factorio
factorio-example-mod
Lightweight modular example mod with various features and compatibilities
Stars: ✭ 15 (-44.44%)
Mutual labels:  factorio
FactorioMods
Various mods for the game Factorio
Stars: ✭ 12 (-55.56%)
Mutual labels:  factorio
scenario
Factorio scenario
Stars: ✭ 15 (-44.44%)
Mutual labels:  factorio
Warehousing
🏗️ Mod for Factorio. Store all the things! (We heard you like boxes, you packrat you!)
Stars: ✭ 27 (+0%)
Mutual labels:  factorio
factorio dissector
Factorio dissector for Wireshark
Stars: ✭ 23 (-14.81%)
Mutual labels:  factorio
Rampant
Factorio Mod - Basic AI augmentation using potential fields
Stars: ✭ 39 (+44.44%)
Mutual labels:  factorio

docker build docker pulls

Introduction

Dockerfile to build a Factorio game server image. You can find the pre-built images on Docker Hub at carloe/docker-factorio

Basic Usage

The init script will automatically create a new save game if none exists.

docker run -d \
           -p 34197:34197/udp \
           --name factorio-server \
           carloe/docker-factorio 

Persisting Saves

Use a docker volume to persist the savegames on the host machine rather than in the docker container.

mkdir $(pwd)/saves

# Make sure the saves dir can be written to by the "factorio" user in Docker, with uid 1000
sudo chown 1000:1000 $(pwd)/saves
# (alternatively, if you don't have root): chmod 777 $(pwd)/saves

docker run -d \
           -v $(pwd)/saves:/opt/factorio/saves \
           -p 34197:34197/udp \
           --restart=always \
           --name factorio-server \
           carloe/docker-factorio 

Build Your Own

The latest Factorio headless server is downloaded at build time. This may be a good reason you want to build your own image since the Docker Hub repo may not always be up to date.

git clone https://github.com/carloe/docker-factorio.git
docker build -t some-factorio .

Then launch your container as usual.

docker run -d \
           -v $(pwd)/saves:/opt/factorio/saves \
           -p 34197:34197/udp \
           --restart=always \
           --name factorio-server \
           some-factorio 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].