From c3631942e8200c2bd370ce61dc6af5f87668aa95 Mon Sep 17 00:00:00 2001 From: David Andersen Date: Tue, 25 Apr 2017 15:26:32 -0700 Subject: [PATCH] a tidbit about the console --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3a8b7e2..47071de 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,16 @@ docker start factorio Try to connect to the server. Check the logs if it isn't working. +## Console + +It's possible to issue console commands to the server. Start the server in interactive mode with `-it`. Open the console with `docker attach` and then type commands. + + docker run -d -it \ + --name factorio \ + dtandersen/factorio + + docker attach factorio + ## Saves A new map named `_autosave1.zip` is generated the first time the server is started. The `map-gen-settings.json` file in `/tmp/factorio/config` is used for the map settings. On subsequent runs the newest save is used.