Sign inSign up

redxlus/minecraft-server

By redxlus

Updated almost 2 years ago

Easy ⛏️ Minecraft Server ⛏️. Update at the last version. In x86-64 computers and ARM (Raspberry Pi).

Image
2

2.8K

redxlus/minecraft-server repository overview

Description

Based on the last image of Minecraft.
Minecraft Server - Docker Image CI
Now more compatibility! You can now use this image on computers with 32-bit or 64-bit processors and ARM (such as Raspberry Pi and other SBCs).

Versions and what use

There are 2 different versions.

  1. It is the one that is updated every week with the most current version of minecraft. Used SPIGOT as server technology, optimized and not laggy.
  • Update every week. SPIGOT-version

  • EXAMPLE: docker pull redxlus/minecraft-server:SPIGOT-1.16.5

  • Latest is the last version SPIGOT-version always:

  • docker pull redxlus/minecraft-server:latest

  • docker pull redxlus/minecraft-server

  1. This version is always version 1.12.2 of minecraft. Used FORGE as server technology. With the following mods: Pixelmon, extrautils2, refinedstorage, Pixel Extras, Just Enough Items (JEI). By pulling this version you can fully play the PIXELMON mod.
  • Pixelmon mod:
  • docker pull redxlus/minecraft-server:PIXELMON-MOD-FORGE-1.12.2

How to use

Here we have 2 options. The first option is run only in a docker container. The second option is to run it in a Docker container with Kubernetes. There are different methods to do this.

How to use in a Docker container

This image is without the file server.properties. To add it first pull the image, open a bash terminal in it, open the ports and make a file with our configuration (I use this: https://raw.githubusercontent.com/RedxLus/open-source-hosting/master/HOSTING/GAMES/Minecraft/server.properties but you can use other or edit this one).

Commands to run in docker the minecraft server:

  1. Download the image.

docker pull redxlus/minecraft-server:SPIGOT-1.16.5

  1. Create a local volume to save the world data of the server.

docker volume create my-minecraft-data

  1. Run the container, open the port, attach the volume and open a bash line in it.

docker run -ti -p 25565:25565 -v my-minecraft-data:/minecraft/world redxlus/minecraft-server:SPIGOT-1.16.5 /bin/bash

  1. Download the file server.properties. You can edit, download other, etc.

wget https://raw.githubusercontent.com/RedxLus/open-source-hosting/master/HOSTING/GAMES/Minecraft/server.properties -O /minecraft/server.properties

  1. Run the Minecraft server.

java -Xms512m -Xmx2G -jar /minecraft/spigot-*.jar nogui

  1. Now we press in the keyboard: CTRL + P +Q (at the same time) to make the container running in background. Wait a few minutes to let start the minecraft server and connect using the IP of the machine and the port setted in the last command. Can check with docker logs the status.

How to use in a Docker container with Kubernetes

Here have the instructions to deploy in Kubernetes and the original dockerfile: https://github.com/RedxLus/open-source-hosting/tree/master/HOSTING/GAMES/Minecraft

Tag summary

Content type

Image

Digest

sha256:e0003c643

Size

1.1 GB

Last updated

almost 2 years ago

docker pull redxlus/minecraft-server