Skip to main content
Gate provides official Docker images that make it easy to deploy the proxy in containerized environments.

Quick Start

The fastest way to get Gate running with Docker:
This command:
  • Runs Gate in detached mode (-d)
  • Names the container gate
  • Exposes port 25565 for Minecraft connections
  • Mounts your local config.yml into the container
  • Uses the latest Gate image from GitHub Container Registry

Docker Image Variants

Gate provides two official image variants:

Default Image (Distroless)

  • Base: gcr.io/distroless/static-debian12
  • Size: Minimal (~10MB)
  • Use case: Production deployments
  • Pros: Smallest attack surface, minimal dependencies
  • Cons: No shell access for debugging

JRE Variant

  • Base: eclipse-temurin:25.0.1_8-jre-alpine
  • Size: Larger (~150MB)
  • Use case: When you need Java runtime for plugins/extensions
  • Pros: Full Java environment, shell access for debugging
  • Cons: Larger image size

Available Tags

  • latest - Latest stable release (distroless)
  • latest-jre - Latest stable release (JRE variant)
  • v0.x.x - Specific version (distroless)
  • v0.x.x-jre - Specific version (JRE variant)
  • edge - Latest commit from main branch (unstable)

Basic Configuration

Create a minimal config.yml file:

Running with Custom Ports

To run Gate on a different host port:
This maps host port 25575 to container port 25565.

Environment Variables

Gate supports environment variables for sensitive configuration:

Supported Environment Variables

  • GATE_VELOCITY_SECRET - Secret for Velocity forwarding mode
  • GATE_BUNGEEGUARD_SECRET - Secret for BungeeGuard forwarding mode

Viewing Logs

To view Gate logs:

Stopping and Restarting

Updating Gate

To update to the latest version:

Health Checks

Add a health check to monitor Gate’s status:
Health checks require the JRE variant as the distroless image doesn’t include shell utilities.

Next Steps

Docker Compose

Deploy multi-container setups with Docker Compose

Configuration

Learn about volumes, networking, and advanced configuration