fedoranimus / direwolf20-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minecraft 1.12 Direwolf20 Pack Docker Container

Attaching data directory to host filesystem

In order to persist the Minecraft data, which you probably want to do for a real server setup, use the -v argument to map a directory of the host to /data:

docker run --name minecraft -d -v /path/on/host:/minecraft/world -p 25565:25565 timdturner/direwolf20

When attached in this way you can stop the server, edit the configuration under your attached /path/on/host and start the server again with docker start CONTAINERID to pick up the new configuration.

Bindables

The following paths are exposed:

  1. ops.json
  2. server.properties
  3. whitelist.json
  4. settings-local.sh
  5. minecraft/world
  6. minecraft/backups

About


Languages

Language:Dockerfile 92.7%Language:Shell 7.3%