Deploy with Docker

To run agentgateway as a Docker container, agentgateway publishes official Docker images at cr.agentgateway.dev/agentgateway.

Before you begin, create a configuration file for agentgateway. In this example, config.yaml is used. You might start with this simple example configuration file.

Docker

To run agentgateway with Docker, mount your configuration file into the container and expose any necessary ports.

docker run -v ./config.yaml:/config.yaml -p 3000:3000 \
  cr.agentgateway.dev/agentgateway:0.12.0 \
  -f /config.yaml

By default, the agentgateway admin UI listens on localhost, which is not exposed outside of the container. To access the UI, you can change the bind address and expose the port.

docker run -v ./config.yaml:/config.yaml -p 3000:3000 \
  -p 127.0.0.1:15000:15000 -e ADMIN_ADDR=0.0.0.0:15000 \
  cr.agentgateway.dev/agentgateway:0.12.0 \
  -f /config.yaml

Docker Compose

To run agentgateway in Docker Compose, follow a similar approach to mount the configuration file and expose the ports.

services:
  agentgateway:
    container_name: agentgateway
    restart: unless-stopped
    image: cr.agentgateway.dev/agentgateway::0.12.0
    ports:
      - "3000:3000"
      - "127.0.0.1:15000:15000"
    volumes:
      - ./config.yaml:/config.yaml
    environment:
      - ADMIN_ADDR=0.0.0.0:15000
    command: ["-f", "/config.yaml"]
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.