mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-12 02:03:17 +00:00
Default the versioning to grab latest stable
This commit is contained in:
@@ -26,4 +26,4 @@ CMD [ "/start-minecraft" ]
|
|||||||
ENV MOTD A Minecraft Server Powered by Docker
|
ENV MOTD A Minecraft Server Powered by Docker
|
||||||
ENV LEVEL world
|
ENV LEVEL world
|
||||||
ENV JVM_OPTS -Xmx1024M -Xms1024M
|
ENV JVM_OPTS -Xmx1024M -Xms1024M
|
||||||
ENV VERSION 1.8.1
|
ENV VERSION LATEST
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
This docker image provides a Minecraft Server that will automatically download the latest stable,
|
This docker image provides a Minecraft Server that will automatically download the latest stable
|
||||||
latest snapshot, or any specific version.
|
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
|
To simply use the latest stable version, run
|
||||||
|
|
||||||
@@ -38,7 +39,7 @@ such as
|
|||||||
|
|
||||||
## Attaching data directory to host filesystem
|
## 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:
|
to map a directory on your host machine to the container's `/data` directory, such as:
|
||||||
|
|
||||||
docker run -d -v /path/on/host:/data ...
|
docker run -d -v /path/on/host:/data ...
|
||||||
|
|||||||
Reference in New Issue
Block a user