Sign inSign up

belooussov/minecraft

By belooussov

Updated over 5 years ago

Minecraft server based on alpine linux.

Image
0

771

belooussov/minecraft repository overview

Minecraft server in a docker container, with persistent data volume.

Heavily inspired by Daniel Limire and overshard.

Dedicated to my children, Katja and Boris.

Running it First, create the data volume for persistent data:

docker volume create data-minecraft

Then, start the docker container:

docker run -d --mount=type=volume,source=data-minecraft,destination=/data \
  -p 25565:25565 belooussov/minecraft:1.12.2

By default the container will use 2GB of RAM, but you can extend it (to 8G for example):

docker run -d -m 8G -e RAM=8G \
  --mount=type=volume,source=data-minecraft,destination=/data \
  -p 25565:25565 belooussov/minecraft:1.12.2

To attach to the docker console, do:

docker exec -ti minecraft screen -r

issue your command (ops blah, etc), and disconnect with "Ctrl-a", then "d" keys.

Tag summary

Content type

Image

Digest

Size

104.3 MB

Last updated

over 5 years ago

docker pull belooussov/minecraft:1.16.4.aarch64