mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-06-26 12:08:02 +02:00
Add rcon client (#550)
* Add rcon client to container * Explain rcon command * Remove test container name * Apply suggestions Co-authored-by: Florian Kinder <florian.kinder@fankserver.com> * Add example docker-compose file * Clarify return code * Switch to pre-update * Update docker-compose.yml Co-authored-by: Florian Kinder <florian.kinder@fankserver.com> * Allow build support for build (/* is only possible in buildx) * Added version information in README.md --------- Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
This commit is contained in:
@ -98,6 +98,15 @@ docker run -d -it \
|
||||
docker attach factorio
|
||||
```
|
||||
|
||||
### RCON (2.0.18+)
|
||||
|
||||
Alternativly (e.g. for scripting) the RCON connection can be used to send commands to the running factorio server.
|
||||
This does not require the RCON connection to be exposed.
|
||||
|
||||
```shell
|
||||
docker exec factorio rcon /h
|
||||
```
|
||||
|
||||
### Upgrading
|
||||
|
||||
Before upgrading backup the save. It's easy to make a save in the client.
|
||||
|
Reference in New Issue
Block a user