Public Repository

Last pushed: 3 years ago
Short Description
Minecraft server (1.7.10 and 1.8.7 vanilla and forge)
Full Description


This container is based on jeanblanchard/java and runs a Minecraft vanilla server with Oracle Java 8. It is intended to be small (only 150 Mb) yet configurable.

Mount volume /minecraft for persistent server data or to install mods.

Note: You must read and agree to Mojang's Minecraft EULA before running any Minecraft server.


You can append "forge" to the image launch arguments to install forge mod loader and WorldEdit. Default is pure vanilla server.

The server can be configured with the following environment variables:

MINECRAFT_MEM - memory allocated to server (heap size). Defaults to 1024M.
SERVER_OP - minecraft username which is granted operator status (if the server is new and doesn't already have any operators)

Exposed Ports

25565 - minecraft server

Typical Usage

docker run -d --name minecraft -p 25565:25565 -v ~/minecraft:/minecraft -e MINECRAFT_MEM=2G -e SERVER_OP=steve weevilgenius/minecraft:1.7.10 forge
Docker Pull Command