Core Keeper Server
Very simple Docker image for conveniently running your own Core Keeper dedicated server. Uses SteamCMD so it can get a little greedy with ram sometimes.
How to use
-
Clone this repo to a convenient location
-
Enter the repo directory and create a worlds folder
$ cd ck-server && mkdir worlds
- Run the launch script to build the image locally and launch the container:
$ ./docker-run.sh
OR you can run this command to skip the build:
$ docker run -d --restart always -v $PWD/worlds:/root/.config/unity3d/Pugstorm/'Core Keeper'/DedicatedServer/worlds --name corekeeper git.crate.zip/crate/ck-server:latest
- Run
docker logs corekeeper | grep GameID
to get the Game ID for your server (so you can join it). It will look something like this:
$ docker logs corekeeper | grep GameID
No GameID found. Creating new GameID for the session.
GameID: wB4k6ZCB3Wrc41Q
The server might take a minute to start up on first run, as it pulls down some dependencies. Afterwards it should be pretty quick. As far as I know it will always use the same Game ID after the first launch -- so you don't have to check it every time.
Quick Launch
If you want to keep things really simple, you can launch a server with this command:
$ docker run -d --name corekeeper git.crate.zip/crate/ck-server:latest
However, you will not be able to recover your save once the container is removed, unless you dive into its volume and dig the file out.
Using your own save
Drop the 0.world.gzip
file from your local save into the worlds/
folder before you launch the server to use it. In the same way, you can take this file generated by the server and use it locally.
ALWAYS BACK UP YOUR SAVE FILES BEFORE MESSING AROUND WITH THEM!!
If you mess something up it's not my fault :)
Happy gaming!!