🏭 🏭 🏭 Run Factorio in isolated docker container
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
base
bin
docs
linux/x64
sources
LICENSE
README.md

README.md

Factorio in Docker

See dockergames/factorio on Docker Hub.

Factorio in Docker container

Prerequisites

  • Docker >= 1.7.0
  • Graphic card

Containers

Base container is based on debian sid. Some additional libraries are downloaded for running this game.

Prolog

Here you can find more information about how to run X server in docker containers.

http://wiki.ros.org/docker/Tutorials/GUI

Install

# download startup script
wget https://raw.githubusercontent.com/dockergames/factorio/master/bin/run -O factorio 

# run script 
sh factorio

# and see usage..

Usage

This repo contains a starter bash script, which is located in /bin folder.

Usage: run [-p | -s | -t] <folder> [-h]

Run factorio in isolated docker container.

Options:

  -h            Display this help and exit.
  -p <folder>   Portable mode. Folder points to your custom data dir.
  -s <folder>   Sources mode. Folder points to factorio root dir.
  -t            Temporary mode (no volumes).

Portable mode

If you want to download a fresh installation of game a just started. You should pick this mode.

Sources mode

If you have your factorio game already downloaded. Just pick this mode.

Temporary mode

Just start game one-time. There will be no stored data after exit.


That's all. I've tested this container on multipl linux machines.

  • Linux Mint 17.3 [x64]
  • Linux Mint 18 [x64]
  • Ubuntu 14.04 LTS [x64]
  • Ubuntu 15.10 [x64]

If you will have a troubles with it, please open issue ticket.

Thanks Felix.