Building a Minecraft server on your home wifi:
- Download Docker Desktop and run it on you computer
- Create a new directory on your computer and put the docker-compose.yml file in it (make sure the file name is
docker-compose.yml
). Note: use a text (only!) editor (like notepad) to fine tune theenvironment
section with variables from Bedrock Edition server properties to customize your server further (make sure the names take the form described by the minecraft docker people, basically capital letters with underscore instead of dashes). You may also want to change the SERVER_NAME to something other than CottrellCraft. - Open Cmd window or terminal window, navigate to the new directory you created in step 2, and run
docker-compose up -d
. Note: to stop it or delete it open up Docker Desktop and find minecraft under "Containers / Apps" and under "Volumes". - Use your ipad-esque device, make sure it's connected to the same wifi as the computer running docker, open the official minecraft app, go to the Friends tab and look for "CottrellCraft" (or the name of your server, if you customized it in the
docker-compose.yml
file) under "LAN Games" and tap it.
Note: This creates an open-access minecraft server, only as secure as your wifi.
Huge thanks to itzg for his docker bedrock repo! There's a lot more information there.
Links I've found helpful/necessary:
minecraft bedrock via docker:
https://github.com/itzg/docker-minecraft-bedrock-server
https://hub.docker.com/r/itzg/minecraft-bedrock-server
docker-compose.yml example:
https://github.com/itzg/docker-minecraft-bedrock-server/blob/master/examples/docker-compose.yml
server.properties:
https://minecraft.fandom.com/wiki/Server.properties#Bedrock_Edition_3
commands (only the bedrock ones will work):
https://minecraft.fandom.com/wiki/Commands