Update README.md

This commit is contained in:
Tranko 2021-09-27 10:44:56 +00:00 committed by GitHub
parent 1eb0de8cdf
commit 753bf1d671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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.