Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dockette/factorio
:factory: :factory: :factory: Run Factorio in isolated docker container
https://github.com/dockette/factorio
docker docker-container factorio game
Last synced: about 2 months ago
JSON representation
:factory: :factory: :factory: Run Factorio in isolated docker container
- Host: GitHub
- URL: https://github.com/dockette/factorio
- Owner: dockette
- License: mit
- Created: 2016-05-08T19:59:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T19:19:40.000Z (about 4 years ago)
- Last Synced: 2023-07-31T16:19:47.848Z (over 1 year ago)
- Topics: docker, docker-container, factorio, game
- Language: Dockerfile
- Homepage:
- Size: 1.52 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Factorio in Docker
See [dockergames/factorio](https://hub.docker.com/r/dockergames/factorio/) on Docker Hub.
![Factorio in Docker container](https://raw.githubusercontent.com/whaleapps/factorio/master/docs/factorio.png)
## 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
```sh
# 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.
```sh
Usage: run [-p | -s | -t] [-h]Run factorio in isolated docker container.
Options:
-h Display this help and exit.
-p Portable mode. Folder points to your custom data dir.
-s 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.