From 485d7b06128c00743a8638f327d958952449f25f Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 27 Dec 2019 22:04:16 -0600 Subject: [PATCH] docs: added info in README about upgrading LATEST/SNAPSHOT versions For #418 --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb95f1f1..87232abd 100644 --- a/README.md +++ b/README.md @@ -106,9 +106,9 @@ and start the server again with `docker start CONTAINERID` to pick up the new co To use a different Minecraft version, pass the `VERSION` environment variable, which can have the value -* LATEST +* LATEST (the default) * SNAPSHOT -* (or a specific version, such as "1.7.9") +* or a specific version, such as "1.7.9" For example, to use the latest snapshot: @@ -118,6 +118,11 @@ or a specific version: docker run -d -e VERSION=1.7.9 ... +When using "LATEST" or "SNAPSHOT" an upgrade can be performed by simply restarting the container. +During the next startup, if a newer version is available from the respective release channel, then +the new server jar file is downloaded and used. _NOTE: over time you might see older versions of +the server jar remain in the `/data` directory. It is safe to remove those._ + ## Healthcheck This image contains [Dinnerbone's mcstatus](https://github.com/Dinnerbone/mcstatus) and uses