Runs a Minecraft Server inside a Docker container.
Find a file
2024-01-26 01:48:52 +01:00
.dockerignore Initial commit 2024-01-25 23:12:09 +01:00
.gitignore Add docker-compose.yml 2024-01-25 23:19:06 +01:00
docker-compose.yml Not being stupid would be good 2024-01-26 01:29:22 +01:00
Dockerfile Remove user 2024-01-26 01:48:52 +01:00
entrypoint.sh Auto accept EULA 2024-01-26 01:12:24 +01:00
Makefile Initial commit 2024-01-25 23:12:09 +01:00
README.md Add setup instructions 2024-01-26 00:14:31 +01:00

MCServerDocker

Runs a Minecraft Server inside a docker container.

Java Edition only

This only supports the true version of Minecraft, not that phone and console spinoff named "Bedrock Edition".

Setting up

Step 1: Installing

This will bootstrap MCSD.

git clone "https://git.staropensource.de/JeremyStarTM/mcserverdocker.git"
cd mcserverdocker
mkdir server

Step 2: Installing the server software

Rename the jar file of your preferred server software to server.jar and move it into the server/ directory.

Step 3: Modify the docker-compose.yml

Take a look at the ports and environment variables inside the docker-compose.yml file and leave everything else as-is.

Step 4: Launching the server

You need to start your server two times as we need to generate the server.properties file first. MCSD will do this automatically for you.

# Use this to launch your server every time you need it
docker compose up -d