Skip to content

dockette/factorio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

🏭 🏭 🏭 Run Factorio in isolated docker container

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published