HUB
Sign inSign up

mctague/paper

By mctague

•Updated over 6 years ago

PaperMC in docker.

Image
0

1.7K

mctague/paper repository overview

⁠paper-docker

This is a docker image for PaperMC⁠.

⁠Usage

Use paper-docker as a base image, creating an image specific to your server, with any applicable configuration files in the same folder as your Dockerfile:

FROM mctague/paper:latest

# Server config files (server.properties, spigot.yml, bukkit.yml etc.)
COPY . /server

# If you agree to the Minecraft EULA:
RUN echo "eula=true" > /server/eula.txt

When you run the image, you will need to specify a volume mounted to /server/data. This volume will contain server state (worlds, hopefully more if Spigot decides to separate configuration from state.), but not any configuration - it is up to you to create configuration files to be copied by your custom image, mount them to volumes, or let them be generated every time by Paper.

Mounting a volume to /server/cache will also help reduce startup times. Mounting to /server/logs will store server logs.

You must expose port 25565 from the container.

Tag summary
Recent tags
Content type
Image
Digest
Size
284.2 MB
Last updated
over 6 years ago
docker pull mctague/paper:latest