From b895e07e821bce9753f392b70dfaecea3f926cb0 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 6 Dec 2014 10:26:03 -0600 Subject: [PATCH] Default the versioning to grab latest stable --- minecraft-server/Dockerfile | 2 +- minecraft-server/README.md | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/minecraft-server/Dockerfile b/minecraft-server/Dockerfile index cf4f0a70..a109efe1 100644 --- a/minecraft-server/Dockerfile +++ b/minecraft-server/Dockerfile @@ -26,4 +26,4 @@ CMD [ "/start-minecraft" ] ENV MOTD A Minecraft Server Powered by Docker ENV LEVEL world ENV JVM_OPTS -Xmx1024M -Xms1024M -ENV VERSION 1.8.1 +ENV VERSION LATEST diff --git a/minecraft-server/README.md b/minecraft-server/README.md index a73eb0fd..4d429b32 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -1,5 +1,6 @@ -This docker image provides a Minecraft Server that will automatically download the latest stable, -latest snapshot, or any specific version. +This docker image provides a Minecraft Server that will automatically download the latest stable +version at startup. You can also run/upgrade to any specific version or the +latest snapshot. See the *Versions* section below for more information. To simply use the latest stable version, run @@ -38,7 +39,7 @@ such as ## 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 +In order to readily access the Minecraft data, use the `-v` argument to map a directory on your host machine to the container's `/data` directory, such as: docker run -d -v /path/on/host:/data ... @@ -86,7 +87,7 @@ A server icon can be configured using the `ICON` variable. The image will be aut downloaded, scaled, and converted from any other image format: docker run -d -e ICON=http://..../some/image.png - + The Java memory limit can be adjusted using the `JVM_OPTS` environment variable, where the default is the setting shown in the example (max and min at 1024 MB):