Sign inSign up

tranko/pi4valheim

By tranko

•Updated over 3 years ago

Public repository with the Valheim server build for Raspberry Pi4.

Image
0

1.1K

tranko/pi4valheim repository overview

⁠pi4valheim

Experimental container created with Docker to run a Valheim server in a Raspberry Pi4.

The image is based on the standard repositories of box86⁠ and box64⁠. The box86 to run the steamcmd and download the Valheim server, box64 to run the Valheim server.

To run this container you need a file with all the variables (or pass them by command line). The method is creating (or download⁠) a env.world file with the next lines (change according your world) and pass it in the execution of the container:

STEAMAPPID=892970
BOX64_LD_LIBRARY_PATH=./linux64:/root/steam/linux32:$BOX64_LD_LIBRARY_PATH
BOX64_LOG=1
BOX64_TRACE_FILE=/root/valheim_data/output.log
BOX64_TRACE=1
PUBLIC=0
PORT=2456
NAME=YourServerName
WORLD=YourWorldName
SAVEDIR=/root/valheim_data
PASSWORD=YourUniquePassw0rd
SAVEDIR=/root/valheim_data
PUBLIC=0
LOGFILE=/root/valheim_data/log.txt
SAVEINTERVAL=1800
BACKUPS=4
BACKUPSHORT=7200
BACKUPLONG=43200
CROSSPLAY=TRUE

Then you can execute the container with the next command:

docker run -p 2456-2457:2456-2457/udp -v /home/pi/ssd/valheim_data:/root/valheim_data:rw --env-file env.tardis tranko/pi4valheim:20220105

You can find the dockerfile that builds this image in my github repository⁠

Tag summary

Content type

Image

Digest

sha256:388416f4a…

Size

1.5 GB

Last updated

over 3 years ago

docker pull tranko/pi4valheim:0.214.300.dev