With over 126 million monthly users, 200 million games sold & 40 million MAU, Minecraft still remains one of the biggest games on the planet.
- for fun of course! :)
- can be run locally for your kids
- you can run it on popular and low-cost Rasperry PI inside your home and/or in the cloud
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
Reboot here or run the next commands with a sudo
docker run hello-world
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 -v install docker-compose
Now you are ready to run Minecraft Server using docker-compose.
Create a docker-compose.yml file
version: '3.7'
services:
minecraft:
image: itzg/minecraft-server:multiarch
ports:
- "25565:25565"
environment:
EULA: "TRUE"
deploy:
resources:
limits:
memory: 1.5G
docker-compose up -d
NOTE: Your Minecraft Server will be running on port 25565