Added support for preview versions (#302)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2023-02-20 10:29:47 -06:00
1 parent 1ba7b841b4
commit 9fae57be3f
2 files changed
+62 -33

No files matched your search

+6 -3
View File
@@ -17,7 +17,9 @@ docker run -d -it -e EULA=TRUE -p 19132:19132/udp -v mc-bedrock-data:/data itzg/
## Upgrading to the latest Bedrock server version
With the `VERSION` variable set to `LATEST`, which is the default, then the Bedrock server can be upgraded by restarting the container. At every startup, the container checks for the latest version and upgrades, if needed.
With the `VERSION` variable set to "LATEST", which is the default, then the Bedrock server can be upgraded by restarting the container. At every startup, the container checks for the latest version and upgrades, if needed.
The latest preview version can be requested by setting `VERSION` to "PREVIEW".
## Looking for a Java Edition Server
@@ -32,14 +34,15 @@ For Minecraft Java Edition you'll need to use this image instead:
- `EULA` (no default) : must be set to `TRUE` to
accept the [Minecraft End User License Agreement](https://minecraft.net/terms)
- `VERSION` (`LATEST`) : can be set to a specific server version or the following special values can be used:
- `LATEST` : determines the latest version and can be used to auto-upgrade on container start
- `LATEST` : determines the latest (non-preview) version and can be used to auto-upgrade on container start
- `PREVIEW` : determines the latest preview version and will auto-upgrade
- `PREVIOUS` : uses the previously maintained major version. Useful when the mobile app is gradually being upgraded across devices
- `1.11` : the latest version of 1.11
- `1.12` : the latest version of 1.12
- `1.13` : the latest version of 1.13
- `1.14` : the latest version of 1.14
- `1.16` : the latest version of 1.16
- otherwise any specific server version can be provided to allow for temporary bug avoidance, etc
- otherwise any specific server version can be provided. If it is a preview version, also set `PREVIEW` to "true"
- `UID` (default derived from `/data` owner) : can be set to a specific user ID to run the
bedrock server process
- `GID` (default derived from `/data` owner) : can be set to a specific group ID to run the