@Metrotyranno Thank you! That was indeed the part I missed!
Is this documented anywhere? I couldn't find server configuration documentation, nor is there a -h /h /? -? --help switch for EcoServer.exe to show command line usage.
Anyway, here's an updated Dockerfile for those who want to try it themselves:
To run the server, fire up a console in the same directory as this Dockerfile:
docker build -t ecoserver:0.4.1 .
docker run -d -p 2999:2999 -p 3000:3000 -p 3001:3001 -v /data/ecoserver:/eco/Storage --name ecoserver ecoserver:0.4.1
This starts a new ecoserver, with the world data stored at /data/ecoserver.
Now the next step is to provide some config variables (like server name, world size, game rules, public server flag) to a script that modifies the configuration files. I'm already happy the server runs, so the generated server name 'ed037560592e' is fine for now :)
In the end, I wanted to try exposing the server configuration interface with a VNC server (similar to this, where they run a Firefox container to which you can connect with VNC). But I guess the error that I encountered earlier means mono and .Net GUI libraries are incompatible so I wonder if that will ever be possible.