Sign inSign up

crosbymichael/minecraft

By crosbymichael

Updated over 8 years ago

Image
1

448

crosbymichael/minecraft repository overview

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

Tag summary

Content type

Image

Digest

sha256:504be5d45

Size

284 MB

Last updated

over 8 years ago

docker pull crosbymichael/minecraft