24 lines
493 B
Markdown
24 lines
493 B
Markdown
## spigot server
|
|
spigot server
|
|
|
|
### Building spigot-server image
|
|
|
|
```
|
|
docker build -t zombi/spigot-server .
|
|
```
|
|
|
|
the spigot binaries are built on the first start of the container instance.
|
|
|
|
This might take a few minutes depending on the internet connection and computing power of the host system.
|
|
|
|
### Running spigot-server
|
|
|
|
```
|
|
docker run -it -d \
|
|
-v /data/minecraft/mc-server:/usr/games/mcserv \
|
|
--name spigot-server \
|
|
-p 25565:25565/udp \
|
|
-p 25565:25565/tcp \
|
|
zombi/spigot-server
|
|
```
|
|
|