KagurazakaNyaa / palworld-docker

Palworld dedicated server with docker
https://hub.docker.com/r/kagurazakanyaa/palworld
GNU Affero General Public License v3.0
91 stars 19 forks source link

提问 请问如何更新服务器版本 #8

Closed AlanBacker closed 10 months ago

AlanBacker commented 10 months ago

请问如何更新服务器版本?我目前系统是Debian

KagurazakaNyaa commented 10 months ago

docker compose pull && docker compose up -d 或者在环境变量里设置FORCE_UPDATE=true

zhao-wuyan commented 10 months ago

由于系统内核原因,不能手动运行steamcmd, Clip_2024-01-25_21-05-13 不知道大佬的镜像是怎么做到的。所以只有大佬更新镜像我才能更新/(ㄒoㄒ)/~~

lxonz commented 10 months ago

如何进行更新,怕存档g了,在docker中安装steamcmd并不能下载最新版本的游戏

zhao-wuyan commented 10 months ago

我已经更好了,就更新大佬的镜像到最新就行了

AlanBacker commented 10 months ago

docker compose pull && docker compose up -d 或者在环境变量里设置FORCE_UPDATE=true

执行了之后出现了这个问题,目前在home folder下

docker compose pull && docker compose up -d

no configuration file provided: not found

bryanroscoe commented 10 months ago

If you mounted your save directory and it is safe then you can just

docker compose down
docker image rm yourimageid
docker compose up

and then it should be all good.

KagurazakaNyaa commented 10 months ago

docker compose pull && docker compose up -d 或者在环境变量里设置FORCE_UPDATE=true

执行了之后出现了这个问题,目前在home folder下

docker compose pull && docker compose up -d

no configuration file provided: not found

也许你是直接使用docker run方式跑起来的,那你如果之前没有挂载,现在就要用docker cp把卷里的存档拷贝到宿主机然后再重新创建容器