- Ensure to change the "changeme" values in the Dockerfile.
-Xms
and-Xmx
flags can be added toentry.sh
to manage memory. Check other Project Zomboid startup parametersgit clone https://github.com/tomasdev/pzsv
cd pzsv
docker build -t pzsv .
docker run -d -p $HOST_IP:16261:16261/udp -ti pzsv
To change the ini file (pending work)
docker ps -a
to list all containers, to find the CONTAINER_ID. If the container is not running, probably there's an error on the logs.docker logs -f $CONTAINER_ID
to see the live logs on the server starting up. Look for the lineZomboid Server is VAC Secure
docker exec -it $CONTAINER_ID bash
to ssh into the container- (inside the container)
nano Zomboid/Server/changeme.ini
to change the settings of the server. docker stop $CONTAINER_ID && docker start $CONTAINER_ID
to restart the server and pickup the changes.