mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-13 22:12:47 +01:00
Updated readme with new dockerhub links & updated version to 0.17
This commit is contained in:
parent
e8aeb461a9
commit
0db1dde077
22
README.md
22
README.md
@ -1,4 +1,4 @@
|
|||||||
# Factorio [![](https://images.microbadger.com/badges/image/dtandersen/factorio.svg)](https://microbadger.com/images/dtandersen/factorio "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/) [![Docker Stars](https://img.shields.io/docker/stars/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/)
|
# Factorio [![](https://images.microbadger.com/badges/image/factoriotools/factorio.svg)](https://microbadger.com/images/factoriotools/factorio "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/factoriotools/factorio.svg)](https://hub.docker.com/r/factoriotools/factorio/) [![Docker Stars](https://img.shields.io/docker/stars/factoriotools/factorio.svg)](https://hub.docker.com/r/factoriotools/factorio/)
|
||||||
|
|
||||||
* `0.17.34`, `0.17`, `latest` [(0.17/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.17/Dockerfile)
|
* `0.17.34`, `0.17`, `latest` [(0.17/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.17/Dockerfile)
|
||||||
* `0.16.51`, `0.16`, `stable` [(0.16/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.16/Dockerfile)
|
* `0.16.51`, `0.16`, `stable` [(0.16/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.16/Dockerfile)
|
||||||
@ -40,7 +40,7 @@ sudo docker run -d \
|
|||||||
-v /opt/factorio:/factorio \
|
-v /opt/factorio:/factorio \
|
||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
dtandersen/factorio
|
factoriotools/factorio
|
||||||
```
|
```
|
||||||
|
|
||||||
For those new to Docker, here is an explanation of the options:
|
For those new to Docker, here is an explanation of the options:
|
||||||
@ -80,7 +80,7 @@ To issue console commands to the server, start the server in interactive mode wi
|
|||||||
|
|
||||||
docker run -d -it \
|
docker run -d -it \
|
||||||
--name factorio \
|
--name factorio \
|
||||||
dtandersen/factorio
|
factoriotools/factorio
|
||||||
docker attach factorio
|
docker attach factorio
|
||||||
|
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ Delete the container and refresh the image:
|
|||||||
|
|
||||||
docker stop factorio
|
docker stop factorio
|
||||||
docker rm factorio
|
docker rm factorio
|
||||||
docker pull dtandersen/factorio
|
docker pull factoriotools/factorio
|
||||||
|
|
||||||
Now run the server as before. In about a minute the new version of Factorio should be up and running, complete with saves and config!
|
Now run the server as before. In about a minute the new version of Factorio should be up and running, complete with saves and config!
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ docker run -d \
|
|||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
--entrypoint "/scenario.sh" \
|
--entrypoint "/scenario.sh" \
|
||||||
dtandersen/factorio \
|
factoriotools/factorio \
|
||||||
MyScenarioName
|
MyScenarioName
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ docker run -d \
|
|||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
--entrypoint "/scenario2map.sh" \
|
--entrypoint "/scenario2map.sh" \
|
||||||
dtandersen/factorio
|
factoriotools/factorio
|
||||||
MyScenarioName
|
MyScenarioName
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ Example which replaces the server-settings.json:
|
|||||||
|
|
||||||
|
|
||||||
factorio_1:
|
factorio_1:
|
||||||
image: dtandersen/factorio
|
image: factoriotools/factorio
|
||||||
ports:
|
ports:
|
||||||
- "34197:34197/udp"
|
- "34197:34197/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -239,11 +239,11 @@ The files in this volume should be owned by the factorio user, uid 845.
|
|||||||
|
|
||||||
[Docker Compose](https://docs.docker.com/compose/install/) is an easy way to run Docker containers.
|
[Docker Compose](https://docs.docker.com/compose/install/) is an easy way to run Docker containers.
|
||||||
|
|
||||||
First get a [docker-compose.yml](https://github.com/dtandersen/docker_factorio_server/blob/master/0.16/docker-compose.yml) file. To get it from this repository:
|
First get a [docker-compose.yml](https://github.com/dtandersen/docker_factorio_server/blob/master/0.17/docker-compose.yml) file. To get it from this repository:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/dtandersen/docker_factorio_server.git
|
git clone https://github.com/dtandersen/docker_factorio_server.git
|
||||||
cd docker_factorio_server/0.16
|
cd docker_factorio_server/0.17
|
||||||
```
|
```
|
||||||
|
|
||||||
Or make your own:
|
Or make your own:
|
||||||
@ -252,7 +252,7 @@ Or make your own:
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
factorio:
|
factorio:
|
||||||
image: dtandersen/factorio
|
image: factoriotools/factorio
|
||||||
ports:
|
ports:
|
||||||
- "34197:34197/udp"
|
- "34197:34197/udp"
|
||||||
- "27015:27015/tcp"
|
- "27015:27015/tcp"
|
||||||
@ -303,7 +303,7 @@ sudo docker run -d \
|
|||||||
-v /opt/factorio:/factorio \
|
-v /opt/factorio:/factorio \
|
||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
dtandersen/factorio
|
factoriotools/factorio
|
||||||
```
|
```
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
Loading…
Reference in New Issue
Block a user