Lightweight Minecraft Spigot 1.14 server container
Image size | RAM usage | CPU usage |
---|---|---|
117MB | 500MB | Medium |
Based on:
- Alpine Linux 3.9
- OpenJDK JRE 8
Use the following command:
docker run -d --name=spigot -p 25565:25565/tcp \
-v ./spigot:/spigot -e ACCEPT_EULA=true qmcgaw/spigot
or use docker-compose.yml with:
docker-compose up -d
If you have existing server data, simply place it in ./spigot
then launch the container.
ACCEPT_EULA
is used to accept the SpigotMC EULA license (required to run the server)JAVA_OPTS
defaults to-Xms512m -Xmx1800m -XX:+UseConcMarkSweepGC
and are options passed to Java to run the Spigot server
- Execute commands in server
- Stop server gracefully
- Healthcheck
- Plugins
I recommend using the Hibernate plugin for your Spigot Docker server