

You can also auto-download plugins using SPIGET_RESOURCES. If you add plugins while the container is running, you'll need to restart it to pick those up. Plugins can either be managed within the plugins subdirectory of the data directory or you can also attach a /plugins volume. You can build spigot from source by adding -e BUILD_FROM_SOURCE=true
#MINECRAFT 1.12.2 MODS USES ALL RAM DOWNLOAD#
If you are hosting your own copy of Bukkit/Spigot you can override the download URLs with:

p 25565:25565 -e EULA=TRUE -name mc itzg/minecraft-server Rather than type the server options below, the port mappings above, etcĮvery time you want to create new Minecraft server, you can now useĭocker-compose.yml file like the following: Optionally it uses Spot Pricing so the server is very cheap, and you can easily turn it off when not in use. This repository contains a CloudFormation template that will get you up and running in AWS in a matter of minutes. If you're looking for a simple way to deploy this to the Amazon Web Services Cloud, check out the Minecraft Server Deployment (CloudFormation) repository. The examples directory also provides examples of deploying the itzg/minecraft-server Docker image.

Deployment Templates and Examples Helm Charts In those cases you can approximate the disabling of healthchecks by setting the environment variable DISABLE_HEALTHCHECK to true. Some orchestration systems, such as Portainer, don't allow for disabling the default HEALTHCHECK declared by this image. Tag nameįor example, to use Java version 8 on any supported architecture: 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 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.
#MINECRAFT 1.12.2 MODS USES ALL RAM UPGRADE#
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 Downloadable mod/plugin pack for Forge, Fabric, and Bukkit-like Serversįor Minecraft clients running on consoles, mobile, or native Windows, you'll need to.Auto-downloading SpigotMC/Bukkit/PaperMC plugins.Optional plugins, mods, and config attach points.Running a server with a packwiz modpack.Fixing "unable to launch forgemodloader".Running a server with a CurseForge modpack.Running a server with a Feed the Beast modpack.Running Minecraft server on different Java version.Converting anonymous /data volume to named volume.Attaching data directory to host filesystem.The VERSION and the TYPE can be configured to create many variations of desired Minecraft server. 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.īy default, the container will download the latest version of the "vanilla" Minecraft: Java Edition server provided by Mojang.

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
