This is docker java environment images of minecraft servers.
We packed MCDReforged too.
The github repository is at https://github.com/kmcsr/minecraft-image
Make sure there is a docker on the server.
Use tag to pull the environment that you want: docker pull craftmine/minecraft:java<java_version> (for MCDR, it's craftmine/minecraft:java<java_version>-mcdr<mcdr_version>)
Use docker run start the server with a volume: docker run -it --rm -v "my-minecraft-server-volume":"/minecraft" craftmine/minecraft:java17
Hint: You must run the server with a volume if you will remove the container. It will be more safe than without a volume.
Since minecraft EULA, we can't pack minecraft server. So you should download the server file from it offical website (e.g. https://www.minecraft.net/en-us/download/server).
wget -O /minecraft/minecraft.jar https://piston-data.mojang.com/v1/objects/f69c284232d7c7580bd89a5a4931c3581eae1378/server.jar
Sometimes you need to restart the docker containers, but you could just exit the init shell use exit 0
Have fun :)
Content type
Image
Digest
sha256:7d5125422…
Size
118.7 MB
Last updated
3 months ago
docker pull craftmine/minecraft:java25-mcdr2.15.7