Sign inSign up

diodonfrost/minecraft-server

By diodonfrost

Updated about 3 years ago

Image
0

1.7K

diodonfrost/minecraft-server repository overview

Quickstart

The following starts a Minecraft server running the latest version and exposing the default port:

docker run -d -p 25565:25565 diodonfrost/minecraft-server:latest

Quick reference (cont.)

Start with persistent storage

If persistence is enabled, data is stored in the VOLUME /data, which can be used with --volumes-from some-volume-container or -v /docker/host/dir:/data (see docs.docker volumes).

docker run -d -v /data:/data -p 25565:25565 diodonfrost/minecraft-server

Environment variables

KeyDefaultDescription
MC_MEMORY2Gmemory allocated to the server

Tag summary

Content type

Image

Digest

sha256:e237e27ff

Size

164.7 MB

Last updated

about 3 years ago

docker pull diodonfrost/minecraft-server