8000 GitHub - seeruk/docker-minecraft: Docker Image packaging for Minecraft.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

seeruk/docker-minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-minecraft

Docker Image packaging for Minecraft. This image uses the official slim Java Buster image as a base and sets up an entrypoint and volumes for running a Minecraft server. It also automatically agrees to the EULA. If you mount a folder to /opt/mcserver that contains an mcserver.jar then it'll be run by default with some sensible JVM arguments. This image is available on the Docker Hub.

Usage

Make sure to set a memory limit on your container, and this image will obey this memory limit for overall memory usage. By default, we set a 50/50 split for heap size and everything else.

  • JVM_INIT_RAM_PERCENT: Initial memory allocated for the heap at startup (default: 50)
  • JVM_MAX_RAM_PERCENT: Maximum memory allocated for the heap (default: 50)

License

MIT

Contributing

Feel free to open a pull request, or file an issue on Github. I always welcome contributions as long as they're for the benefit of all (potential) users of this image.

If you're unsure about anything, feel free to ask about it in an issue before you get your heart set on fixing it yourself.

About

Docker Image packaging for Minecraft.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0