mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 03:07:24 +01:00
typo
This commit is contained in:
parent
4ed57b0c20
commit
1e7c8bc8b7
10
README.md
10
README.md
@ -37,17 +37,17 @@ docker run -d -P \
|
|||||||
-v /path/to/server-config.json:/opt/factorio/data/server-config.json \
|
-v /path/to/server-config.json:/opt/factorio/data/server-config.json \
|
||||||
-v /path/to/saves:/opt/factorio/saves \
|
-v /path/to/saves:/opt/factorio/saves \
|
||||||
-v /path/to/mods:/opt/factorio/mods \
|
-v /path/to/mods:/opt/factorio/mods \
|
||||||
--name factorio
|
--name factorio \
|
||||||
dtandersen/factorio
|
dtandersen/factorio
|
||||||
```
|
```
|
||||||
|
|
||||||
If you're wondering what all these options are:
|
If you're wondering what all these options are:
|
||||||
|
|
||||||
* ```-d``` - Start the server as a daemon.
|
* ```-d``` - Start the server as a daemon.
|
||||||
* ```-P``` - Expose all ports.
|
* ```-P``` - Expose all ports.
|
||||||
* ```-v``` - Mount volumes for config, mods, and saves.
|
* ```-v``` - Mount volumes for config, mods, and saves.
|
||||||
* ```--name``` - Give the container a name (otherwise it'll be random).
|
* ```--name``` - Give the container a name (otherwise it'll be random).
|
||||||
* ```dtandersen/factorio``` - The Docker image name.
|
* ```dtandersen/factorio``` - The Docker image name.
|
||||||
|
|
||||||
The server should start and create ```/path/to/saves/save.zip```. The save remains if the server stops, since the save folder is mounted as a volume.
|
The server should start and create ```/path/to/saves/save.zip```. The save remains if the server stops, since the save folder is mounted as a volume.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user