Skip to content

nicemd/docker-minecraft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-minecraft

A nice and easy way to get a Minecraft server up and running using docker. For help on getting started with docker see the official getting started guide. For more information on Minecraft and check out it's website.

This repository is a fork from https://github.com/overshard/docker-minecraft

Running

Running this image with Docker-Compose

git clone https://github.com/nicemd/docker-minecraft
cd docker-minecraft
docker-compose up

Note you need docker-compose v1.21 or later.

Running this image in a Docker Swarm

Only one swarm replica of the Minecraft server is supported.

git clone https://github.com/nicemd/docker-minecraft
cd docker-minecraft
docker stack deploy -c docker-compose.yml minecraft

Minecraft Data directory

Your Minecraft world data will be placed in the data directory.

Building docker image

docker build -t niemd/docker-minecraft .
docker tag niemd/docker-minecraft:latest niemd/docker-minecraft:1.12.2

Push it to Docker hub

docker push niemd/docker-minecraft:latest
docker push niemd/docker-minecraft:1.12.2

About

An easy way to get a Minecraft server up and running using docker.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%