Skip to content

crosbymichael/minecraft-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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

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

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

About

Minecraft dockerfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published