Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 673 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 673 Bytes

docker-papermc

Docker image for the Minecraft PaperMC server at https://papermc.io

Build

Build latest version:

docker build \
    --tag nicholasdille/papermc \
    .

Build with specific version of PaperMC:

docker build \
    --build-arg PAPERMC_VERSION=1.14.4 \
    --tag nicholasdille/papermc \
    .

Build with specific version of Java:

docker build \
    --build-arg JAVA_VERSION=10 \
    --tag nicholasdille/papermc \
    .

Launch

docker run \
    -d \
    --name minecraft \
    --mount type=bind,source=/opt/minecraft/server1,target=/var/opt/papermc \
    -p 25565:25565 \
    nicholasdille/papermc