Sign inSign up

programie/minecraft-server

By programie

•Updated about 5 years ago

A Minecraft Server in a Docker container

Image
0

1.0K

programie/minecraft-server repository overview

⁠Dockerized Minecraft Server

This project has been abandoned and therefore is no longer maintained! You may want to use something different like itzg/minecraft-server⁠.

⁠How to use

Start this Docker image using docker run:

docker run --name minecraft-server -v /path/to/your/server-files:/opt/minecraft programie/minecraft-server

⁠Available environment variables

The following environment variables can be used to modify the behavior of the Minecraft server (passed using the -e or --env option of the docker run command):

VariableDescriptionDefault value
MINECRAFT_SERVER_JARThe filename of the jar file in /opt/minecraft used to start the Minecraft serverminecraft-server.jar
MINECRAFT_CMD_OPTSAdditional options passed to the Minecraft server
JAVA_HEAP_MAXThe maximum heap size for the Java process (omit or set to an empty string to use the container limits)
JAVA_HEAP_MINThe minimum heap size for the Java process (only used if JAVA_HEAP_MAX has been defined)
JAVA_OPTSAdditional options passed to the JVM before the -jar option
JMXREMOTE_ENABLEEnable remote control via JMX (e.g. to use with JConsole or VisualVM)
JMXREMOTE_PORTThe port to use for JMX remote control3000
JVMREMOTE_HOSTNAMEThe hostname to which JConsole or VisualVM should connect tolocalhost

Tag summary

Content type

Image

Digest

Size

66.1 MB

Last updated

about 5 years ago

docker pull programie/minecraft-server