From 753bf1d671fd578c3a84e05a7169f0693e718fc8 Mon Sep 17 00:00:00 2001 From: Tranko <37229415+thorkseng@users.noreply.github.com> Date: Mon, 27 Sep 2021 10:44:56 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a0df506..f00009f 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,14 @@ sudo apt update & sudo apt upgrade & sudo apt dist-upgrade podman image tag c44a18e4e67d valheim-base:v1 ## Execute the container -In my case, I have my world from previous server in /home/pi/valheim_data. +In my case, I have my world from previous server in /home/pi/valheim_data. If you don't have the CNI network configured, you can use this command to execute the container. podman run --name valheim --network host -v /home/pi/valheim_data:/root/valheim_data:rw -it valheim-base:v1 /bin/bash +If you have the CNI network configured you can use this command to execute the container: + + podman run --rm --name valheim --network cni-podman1 -p 2456-2458:2456-2458/udp -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.