Few years ago I created a docker image for me to play on Minecraft with friends.
I have been updating this image from time to time but basically it’s almost always compatible with the new version since it’s building the game server from the sources.
The project can be found here: https://github.com/AshDevFr/docker-spigot
The docker image can be found here: https://hub.docker.com/r/ashdev/minecraft-spigot
I provide the image with an ubuntu base or an alpine base which is much smaller.
Show and tell
In 2019 I presented this project during the 6th docker’s bday in San Francisco
You can check the slides if you are interested:
The options
This image come with a lot of integrated plugin that can be installed just by adding an option when running the server. (Using env variables)