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