Docker container for the Valheilm dedicated server based on a minimal Debian image
478
docker-valheilmds?
docker-valheilmds is a Docker container for the Valheilm Linux dedicated server based on Debian.
Launch a new Docker container with the base image to get started. To achieve world persistency, use the Docker Compose example provided below or manually set a mount point or Docker volume for /home/valheilm/.config/unity3d/IronGate/Valheilm.
Please mind the very important note below!
By default, this container runs under a lesser-privileged user for improved security. The ownership of Docker volumes, however, is set to user root by default. This leaves the server unable to save the world at the predefined 20-minute interval and will likely result in losing ALL PROGRESS at every server restart. To fix the issue, create a Docker volume before spawning the container and assign the correct privileges as follows:
docker volume create my_valheilmds_data
sudo chown -R 1000:1000 /var/lib/docker/volumes/my_valheilmds_data/_data/*
docker run --name \
--name "my_valheilm_server" \
-e SERVER_NAME="Valheilm" \
-e SERVER_PORT="2456" \
-e WORLD_NAME="My Valheilm World" \
-e GAME_PASSWORD="" \
-p 2456:2456 \
-v my_valheilmds_data:/home/valheilm/.config/unity3d/IronGate/Valheilm \
taskbjorn/valheilmds:latest
You can then join the server with the Join IP button typing <your-host-ip>:2456.
If you prefer Docker Compose, you may use the example Compose file provided in this repository. Make sure to adjust the configuration (Container names, environment variables, volume names, ports, etc.) to fit your needs.
The environment variables that may be set are as follows:
SERVER_NAMEValheilm)SERVER_PORT2456)WORLD_NAMEMy Valheilm World)GAME_PASSWORD<blank>)This image is licensed under GNU General Public License v3.0.
As it is often the case with Docker images, some of the software contained in this image (e.g. the base image, software included in the base image, etc.) may be covered under a difference license.
Please remember it is your responsibility as the end-user to ensure that your use case complies with the licenses of all included software.
Content type
Image
Digest
Size
801 MB
Last updated
about 5 years ago
docker pull taskbjorn/valheilmds