mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
docs: added info in README about upgrading LATEST/SNAPSHOT versions
For #418
This commit is contained in:
parent
94b037428e
commit
485d7b0612
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue