Valheim

Valheim

Docker app from ich777's Repository

Overview

This Docker will download and install SteamCMD. It will also install Valheim and run it. ATTENTION: First Startup can take very long since it downloads the gameserver files! SERVER BROWSER: It could take really long that the server shows up in the in game server list, if you want to connect directly simply go to the Steam Server Browser - View -> Servers -> Favourites -> Add Server -> SERVERIP:SERVERPORT+1 (eg: if the server port is 2456 then you have to enter something like: 192.168.0.1:2457) -> click on Add -> click on more time on Refresh, after that you can connect to the server with a double click. Update Notice: Simply restart the container if a newer version of the game is available. You can also run multiple servers with only one SteamCMD directory!

Runtime arguments

Network
bridge
Shell
bash
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

SteamCMDPathrw

Container Path: /serverdata/steamcmd

Target
/serverdata/steamcmd
Value
/mnt/user/appdata/steamcmd
ServerFilesPathrw

Container Path: /serverdata/serverfiles

Target
/serverdata/serverfiles
Value
/mnt/cache/appdata/valheim
GAME_IDVariable

The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '896660 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install).

Value
896660
GAME_PARAMSVariable

Enter your extra start up commands for the server here otherwise leave empty.

Steam-UsernameVariable

Your Steam username goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION: You have to disable Steam Guard).

Target
USERNAME
Validate InstallationVariable

Set the Variable to 'true' if you want to validate the installation otherwise leave it blank.

Target
VALIDATE
Steam-PasswordVariable

Your Steam password goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION: You have to disable Steam Guard).

Target
PASSWRD
Server NameVariable

Name of the Server

Target
SRV_NAME
Value
Valheim Docker
World NameVariable

Name of the Server World

Target
WORLD_NAME
Value
Dedicated
Server PasswordVariable

Server Password - ATTENTION: the minimum length is 6 characters!

Target
SRV_PWD
Value
Docker
Public ServerVariable

List Server as Public (set to '0' to disable or set to '1' to enable).

Target
PUBLIC
Value
1
UDP - Game Port RangePortudp

UDP Game Ports (If you need another port delete this Entry and create a new UDP port mapping with the corresponding port range | GAME_PORT +2 | also don't forget to click on show more and change the GAME_PORT)

Target
2456-2458
Value
2456-2458
ValheimPlusVariable

If you want to enable ValheimPlus set this variable to 'true' (without quotes). For more help please refer to this site: https://github.com/nxPublic/ValheimPlus

Target
ENABLE_VALHEIMPLUS
BepInEx for ValheimVariable

If you want to enable BepInEx for Valheim set this variable to 'true' (without quotes). For more help please refer to this site: https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/

Target
ENABLE_BEPINEX
BackupVariable

Set this value to 'true' (without quotes) to enable the automated backup function from the container, you find the Backups in '.../valheim/Backups/'. Set to 'false' (without quotes) to disable the backup function.

Target
BACKUP_FILES
Value
true
Backup Interval (in minutes)Variable

The backup interval in minutes (set to 62 minutes because the game automatically saves the database every 30 minutes) ATTENTION: The first backup will be triggered after the set interval in this variable after the start/restart of the container).

Target
BACKUP_INTERVAL
Value
62
Backups to keepVariable

Number of backups to keep (by default set to 24 to keep the last backups of the last 24 hours).

Target
BACKUP_TO_KEEP
Value
24
GAME_PORTVariable

Only change if you know what you are doing (intital GAME_PORT | Dont forget to create create a new UDP port mapping with the corresponding port range and delete the default port range | GAME_PORT +2)

Value
2456
UIDVariable

Only change if you know what you are doing!

Value
99
GIDVariable

Only change if you know what you are doing!

Value
100
Debug Log OutputVariable

Only change if you know what you are doing!

Target
DEBUG_OUTPUT
Value
false
Write Log to FileVariable

This will write the log output to a file, by default to 'valheim.log' to the main directory.br/ ATTENTION: Keep in mind this option will force Debug Log Output no matter what you choose in the above variable.

Target
LOG_OUTPUT
Value
false

Categories

Download Statistics

6,558,830
Total Downloads
27,630
This Month
25,839
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
ghcr.io/ich777/steamcmd:valheim
Last Updated2026-02-03
First Seen2021-02-02

Run Valheim on Unraid.

Valheim is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.