varmheim/README.md

1.9 KiB

pi4valheim

Experimental Docker file to run a Valheim server in a Raspberry Pi4

Requeriments:

Raspberry Pi4: I only tested on a 8GB of RAM with the next requirements:

Create the image (it will take around 1-2 hours)

podman build -f Valheim.dockerfile
podman 

Execute the container

In my case, I have my world from previous server in /home/pi/valheim_data.

podman run --name valheim --network host -v /home/pi/valheim_data:/root/valheim_data:rw -it valheim-base /bin/bash

Create a start.sh copy from the start_server.sh and modify the execution with box64 in front For example I execute my server with the next line to create a local network server to play at home.

box64 ./valheim_server.x86_64 -public 0 -nographics -batchmode -name "Your server Name" -port 2456 -world "Your Workd Name" -savedir "/root/valheim_data"

Considerations:

Pi4 has a limited hardware, it this is emulating x86_64 over arm64, so don't expect so high performance. It works, I didn't have any problems playing some hours. When the game saves it freeze all connections during some seconds, take it into account!!!!!

This experiment can be done for the next projects:

podman