Skip to content

Docker

Run Trident as a Docker container from the official Trident Container Registry.

Pull the Image

docker pull docker.trident-cache.com/trident:latest

For a specific version:

docker pull docker.trident-cache.com/trident:1.0.0

Run

Basic usage with default configuration:

docker run -d \
  --name trident \
  -p 8120:8120 \
  docker.trident-cache.com/trident:latest

With a custom configuration file:

docker run -d \
  --name trident \
  -p 8120:8120 \
  -v /path/to/config.toml:/etc/trident/config.toml:ro \
  docker.trident-cache.com/trident:latest

Docker Compose

services:
  trident:
    image: docker.trident-cache.com/trident:latest
    ports:
      - "8120:8120"
    volumes:
      - ./config.toml:/etc/trident/config.toml:ro
    restart: unless-stopped

Exposed Ports

Port Description
8120 HTTP listener

Next Steps