v1.0: First version for non steam server [now broken]
v1.1: New version for Project Zomboid Steam dedicated server
v1.2: Minor fixes (asking for frontend disabled, sed parse error removed)
You can map the directory containing server files with -v /my/path:/server-files.
You need to bind X ports for client connection. (Example : If you have 10 slots, you need to put -p 16262-16272:16262-16272, if you have 100 slots, you need to put -p 16262-16362:16262-16362).
Port 16261 need to be bind in tcp AND udp.
Once you have run the docker for the first time, you can edit your config file in your map directory /server-data. (In Server/$SERVERNAME.ini)
SERVERNAME is not the display name of your server, you need to edit /server-data/Server/$SERVERNAME.ini.