From a51634655cebd9660757360ceff543b273d44bcf Mon Sep 17 00:00:00 2001 From: Michael Chandler Date: Sun, 6 Oct 2019 08:49:14 +1000 Subject: Add note about debugging. --- readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index be21d88..05267ef 100644 --- a/readme.md +++ b/readme.md @@ -93,7 +93,7 @@ You can force a redeployment of the service via ECS. [Update the service](https: **How can I change map settings, server settings etc.** -You'll need to have remote access to the server (refer to Optional Features). You can make whatever changes you want to the configuration in `/opt/factorio/config`. Once done, restart the container using the following command: `sudo docker restart $(docker ps -q --filter name=ecs-factorio)`. +You'll need to have remote access to the server (refer to Optional Features). You can make whatever changes you want to the configuration in `/opt/factorio/config`. Once done, restart the container using the following command: `sudo docker restart $(docker ps -q --filter ancestor=factoriotools/factorio)`. **I can no longer connect to my instance via SSH?** @@ -121,6 +121,13 @@ Be sure to check out factoriotools's repositories on Docker Hub and GitHub. Unle - Docker Hub: https://hub.docker.com/r/factoriotools/factorio/ - GitHub: https://github.com/factoriotools/factorio-docker +### Basic Docker Debugging + +If you SSH onto the server, you can run the following commands for debugging purposes: + +* `sudo docker restart $(docker ps -q --filter ancestor=factoriotools/factorio)` - Restart server. +* `sudo docker logs $(docker ps -q --filter ancestor=factoriotools/factorio)` - Check Factorio container logs. + ## Thanks Thanks goes out to [FactorioTools](https://github.com/factoriotools) ([and contributors](https://github.com/factoriotools/factorio-docker/graphs/contributors)) for maintaining the Factorio Docker images. -- cgit v1.2.3