update Readme File
This commit is contained in:
parent
e889d3e059
commit
eec9fe42ae
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -13,6 +13,11 @@ This might take a few minutes depending on the internet connection and computing
|
|||
|
||||
### Running spigot-server
|
||||
|
||||
First create the storage directory with the correct permissions
|
||||
|
||||
mkdir -p /data/minecraft/mc-server
|
||||
chown 5:60 /data/minecraft/mc-server
|
||||
|
||||
```
|
||||
docker run -it -d \
|
||||
-v /data/minecraft/mc-server:/usr/games/mcserv \
|
||||
|
@ -22,3 +27,8 @@ docker run -it -d \
|
|||
zombi/spigot-server
|
||||
```
|
||||
|
||||
on the first run the buildtools are building the spigot jar file and the container is exiting once done.
|
||||
|
||||
restart the container afterwards to run the minecraft server
|
||||
|
||||
docker start spigot-server
|
||||
|
|
Loading…
Reference in a new issue