
Instead, one of the Java 8 images should be used. Keep in mind that some versions of Minecraft server, such as Forge before 1.17, can't work on the newest versions of Java. Tag nameįor example, to use Java version 8 on any supported architecture:ĭocker run -name mc itzg/minecraft-server:java8-multiarch To use a different version of Java, please use an alternate tag to run your Minecraft server container. When using the image itzg/minecraft-server without a tag, the latest image tag is implied from the table below. Running Minecraft server on different Java versionįor Forge versions less than 1.18, you must use the java8-multiarch (or other java8) image tag. The server jar remain in the /data directory. NOTE: over time you might see older versions of The new server jar file is downloaded and used. When using "LATEST" or "SNAPSHOT" an upgrade can be performed by simply restarting the container.ĭuring the next startup, if a newer version is available from the respective release channel, then

RCON is enabled by default, so you can exec into the container to Itzg/minecraft-bedrock-server Interacting with the server

Looking for a Bedrock Dedicated Serverįor Minecraft clients running on consoles, mobile, or native Windows, you'll need to The VERSION and the TYPE can be configured to create many variations of desired Minecraft server. It is highly recommended to only use RCON within the container, such as with rcon-cli.īy default, the container will download the latest version of the "vanilla" Minecraft: Java Edition server provided by Mojang. If you plan on running a server for a longer amount of time it is highly recommended using a management layer such as Docker Compose or Kubernetes to allow for incremental reconfiguration and image upgrades.īe sure to always include -e EULA=TRUE in your commands and container definitions, as Mojang/Microsoft requires EULA acceptance.ĭO NOT port forward RCON on 25575 without first setting RCON_PASSWORD to a secure value. Where, in this case, the standard server port 25565, will be exposed on your host machine.


Docker run -d -it -p 25565:25565 -e EULA=TRUE itzg/minecraft-server
