Skip to content

Commit f8a67bc

Browse files
committed
add readme
1 parent dae9ea6 commit f8a67bc

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

readme.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SCP-5k Dedicated Server For Docker
2+
3+
### Usage
4+
5+
> The text under "<>" meanning you have to replace it by youself according to your needs, and delete "<>"
6+
7+
#### Step 1
8+
9+
[Pull docker image](https://github.com/LightBlueCube/5k-dedi-docker/pkgs/container/5k-dedi-docker%2F5k-dedi)
10+
11+
#### Step 2
12+
13+
Create a volume for storage your server files
14+
15+
```bash
16+
docker volume create <any_name>
17+
```
18+
19+
Add `sudo` before the command if you arent root user
20+
21+
You can access your server files later at `/var/lib/docker/volumes/<volume_name>/_data/`
22+
23+
#### Step 3
24+
25+
Enter command to start your server
26+
27+
```bash
28+
docker run --name <any_name> -p <port>:<port> -v <the_volume_you_just_created>:"/home/5k/Steam/steamapps/common/SCP Pandemic Dedicated Server" ghcr.io/lightbluecube/5k-dedi-docker/5k-dedi
29+
```
30+
31+
Add `-d` if you want it running on background
32+
33+
Add `sudo` before the command if you arent root user

0 commit comments

Comments
 (0)