A lightweight Java 21 -based PaperMC Minecraft server container.
2.0K
A lightweight Java 21 -based PaperMC Minecraft server container.
You can run the server using the following command.
docker run -it -d --name papermc -e MINECRAFT_VERSION=1.21 -e MINECRAFT_EULA=false -p 25565:25565 kekalainen/papermc:latest
To start the server you'll need to signify your agreement to Minecraft EULA by setting the MINECRAFT_EULA environment variable to true. The MINECRAFT_VERSION environment variable can be used to switch between different versions of Minecraft (which are downloaded during the first startup).
A volume for the server files is created automatically. Alternatively it's possible to map the container's /data directory to one on the host machine using the -v /path/on/host:/data flag.
Content type
Image
Digest
sha256:570b292ea…
Size
40.2 MB
Last updated
about 1 year ago
docker pull kekalainen/papermc