mirror of
https://github.com/Luzifer/rust-server.git
synced 2024-11-14 02:12:44 +00:00
Fix image names
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3982c03b7e
commit
a272b9d33b
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ This repository contains a Docker setup for [Linux Game Server Managers](https:/
|
||||||
This README will use `/data/rust` as chosen directory. So replace that one with your choice in all commands.
|
This README will use `/data/rust` as chosen directory. So replace that one with your choice in all commands.
|
||||||
- Execute `chown 1000:1000 /data/rust` to enable the unprivileged user in the container to write into that directory
|
- Execute `chown 1000:1000 /data/rust` to enable the unprivileged user in the container to write into that directory
|
||||||
- Do a first installation of the server: (This will require quite a time as it downloads a 5.8GB gameserver)
|
- Do a first installation of the server: (This will require quite a time as it downloads a 5.8GB gameserver)
|
||||||
`docker run --rm -ti -v /data/rust:/home/rustserver --name rust quay.io/luzifer/rust-server auto-install`
|
`docker run --rm -ti -v /data/rust:/home/rustserver --name rust luzifer/rust-server auto-install`
|
||||||
- Edit `/data/rust/rustserver` script and exchange RCON password and other configuration variables
|
- Edit `/data/rust/rustserver` script and exchange RCON password and other configuration variables
|
||||||
- Edit `/data/rust/serverfiles/server/rust-server/cfg/server.cfg` and set the description, image and URL of your server
|
- Edit `/data/rust/serverfiles/server/rust-server/cfg/server.cfg` and set the description, image and URL of your server
|
||||||
- Start your server:
|
- Start your server:
|
||||||
|
@ -16,10 +16,10 @@ This repository contains a Docker setup for [Linux Game Server Managers](https:/
|
||||||
```
|
```
|
||||||
docker run -d -p 28015:28015/udp -p 28016:28016 \
|
docker run -d -p 28015:28015/udp -p 28016:28016 \
|
||||||
-v /data/rust:/home/rustserver --name rust \
|
-v /data/rust:/home/rustserver --name rust \
|
||||||
quay.io/luzifer/rust-server start
|
luzifer/rust-server start
|
||||||
```
|
```
|
||||||
|
|
||||||
- To stop the server I recommend using the RCON console and the command `quit`. This will ensure the server has created a proper savegame.
|
- To stop the server I recommend using the RCON console and the command `quit`. This will ensure the server has created a proper savegame.
|
||||||
- To update the server stop it and afterwards execute the update:
|
- To update the server stop it and afterwards execute the update:
|
||||||
`docker run --rm -ti -v /data/rust:/home/rustserver quay.io/luzifer/rust-server update`
|
`docker run --rm -ti -v /data/rust:/home/rustserver luzifer/rust-server update`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue