An open API service indexing awesome lists of open source software.

https://github.com/crosbymichael/minecraft-docker

Minecraft dockerfile
https://github.com/crosbymichael/minecraft-docker

Last synced: 3 months ago
JSON representation

Minecraft dockerfile

Awesome Lists containing this project

README

        

## minecraft server

Server runs as user daemon and any volumes mounted should be owned by that user as well. ( uid and gid of 1 ). You should run the server with cpu and memory limits if possible and use an external bind mounted volume for persistent data.

*Run the server*

```bash
mkdir /myminecraft-world && chown 1:1 /myminecraft-world

docker run -d -p 25565:25565 -v /myminecraft-world:/minecraft --memory 1536m --cpuset 2 crosbymichael/minecraft
```