Skip to content

mexisme/spigot-docker

Repository files navigation

Minecraft in Docker

Setup

  • Install Docker and Docker Compose
  • Create a /opt/minecraft dir, and make it owned by UID 10000, GID 10000
$ sudo bash -c 'mkdir -pv /opt/minecraft; chown -vR 10000:10000 /opt/minecraft

Building

This will build a Spigot-based server:

$ make build

Running

This will start the Spigot-based server, mounting the data volume on the above /opt/minecraft dir.

$ make spigot

This will start the standard server:

$ make minecraft

Backup

This will backup the standard dir to $(PWD)/BACKUP/minecraft.$(DATE).tar:

$ make backup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published