Run a Minecraft Server on OSX Boot2Docker
Run a Minecraft Server on OSX Boot2Docker Here's how I did it. I hope you find it useful! One-time Setup Do these steps once, to initialize Boot2Docker: Step 1: Install Docker for OS X Step 2: Create a directory to hold your Minecraft files. This needs to be under the /Users part of your file system because boot2docker automatically mounts /Users to the boot2docker-vm. mkdir /Users/yourname/minecraft/ data Step 3: Initialize boot2docker boot2docker init Step 4: Forward the TCP port Minecraft uses from the Mac to the boot2docker-vm. VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port25565,tcp,,25565,,25565"; Start Minecraft Do these steps every time you want to start your Minecraft server. Step 1: Start boot2docker. boot2docker start Step 2: Set up the shell variables so you can use the docker command. $(boot2docker shellinit) Step 3: Run the minecraft container. ...