Skip to content

TriggerReactor/spigot-docker

 
 

Repository files navigation

Spigot Docker

Lightweight Minecraft Spigot 1.14 server container

Spigot Docker

Docker Build Status

GitHub last commit GitHub commit activity GitHub issues

Docker Pulls Docker Stars Docker Automated

Image size Image version

Image size RAM usage CPU usage
117MB 500MB Medium

Based on:

  • Alpine Linux 3.9
  • OpenJDK JRE 8

Setup

Spigot

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.

Environment variables

  • 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

TODOs

  • Execute commands in server
  • Stop server gracefully
  • Healthcheck
  • Plugins

Other

I recommend using the Hibernate plugin for your Spigot Docker server

Hibernate plugin

About

Lightweight Docker container for Spigot server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 87.2%
  • Shell 12.8%