Skip to content
Latest (currently 2026.11.0) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Docker

Page as Markdown

Install and run agentgateway as a Docker container, on its own or with Docker Compose.

To run Solo Enterprise for agentgateway as a container, follow the steps to start the container, verify that it runs, and open the UI. Solo publishes the enterprise images at us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise. The registry is public, so pulling the image needs no credentials, and the license key that the proxy needs to start is separate from registry access.

The image is built for Linux on amd64 and arm64.

Before you begin

Get a license key for Solo Enterprise for agentgateway. If you do not have one, contact your account representative. The proxy refuses to start without a valid key. For the ways to supply the key and what happens when it expires, see Licensing.

Run the container

Start the container

You can either mount a directory and let agentgateway create a configuration file in it, or mount a configuration file that you wrote yourself. Either way, the container needs the license key.

Mount a writable directory at the /config path. Agentgateway generates a default configuration in the config.yaml file in that directory on the first start, and creates a SQLite database alongside it. The generated file carries no license key, so pass the key as an environment variable.

mkdir agentgateway-config
docker run -d \
  --name agentgateway \
  --user "$(id -u):$(id -g)" \
  -e ENTERPRISE_AGENTGATEWAY_LICENSE_KEY="$ENTERPRISE_AGENTGATEWAY_LICENSE_KEY" \
  -v "$PWD/agentgateway-config:/config" \
  -p 4000:4000 \
  us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise:2026.11.0

The --user flag lets the container read and write the mounted directory as your user. The generated configuration includes a SQLite database and serves the UI on the default gateway. The database stores LLM analytics, logs, and other runtime data. For details, see Database.

The generated configuration looks like this:

cat agentgateway-config/config.yaml
# yaml-language-server: $schema=https://docs.solo.io/agentgateway/standalone/latest/reference/configuration/config.json
config:
  database:
    url: sqlite:///config/data.db
gateways:
  default:
    port: 4000
ui:
  gateways: default
  1. To keep the key out of the docker run command, create a file that holds the license key.

    echo -n '<license-key>' > license.key
    chmod 600 license.key
  2. Create a configuration file with license, database, and UI settings. Agentgateway does not add defaults to a configuration file that you supply, so include each setting that you need. For a fuller starting point, add these settings to the example configuration file.

    cat <<'EOF' > config.yaml
    # yaml-language-server: $schema=https://docs.solo.io/agentgateway/standalone/latest/reference/configuration/config.json
    config:
      license:
        key:
          file: /license/license.key
      database:
        url: sqlite:///data/data.db
    gateways:
      default:
        port: 4000
    ui:
      gateways: default
    EOF

    Review the following table to understand this configuration.

    SettingDescription
    config.license.key.fileThe path to the license key file in the container.
    config.database.urlThe SQLite database file. The /data directory must be writable. For more information, see Database.
    ui.gatewaysServes the UI on the default gateway.
  3. Start the container and pass the configuration file with -f. Mount the license key and a writable /data directory for SQLite.

    Keep the configuration mount writable to save UI changes. For details, see Configuration storage.

    mkdir -p data
    docker run -d \
      --name agentgateway \
      --user "$(id -u):$(id -g)" \
      -v "$PWD/config.yaml:/config.yaml" \
      -v "$PWD/license.key:/license/license.key:ro" \
      -v "$PWD/data:/data" \
      -p 4000:4000 \
      us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise:2026.11.0 \
      -f /config.yaml

Important

The admin interface defaults to localhost:15000, which is the container’s own loopback interface, so publishing port 15000 does not make it reachable from your host. Reach the UI on a gateway port instead, as the generated configuration does. That is the supported path, and it is the only one that you can authenticate. For more information, see Reach the UI in a container.

Verify that the container runs

Check the status of the container.

docker ps --filter name=agentgateway

Example output:

CONTAINER ID   IMAGE                                         COMMAND               CREATED         STATUS         PORTS                                         NAMES
8bac1aad45ba   us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise:2026.11.0   "/app/agentgateway"   5 seconds ago   Up 4 seconds   0.0.0.0:4000->4000/tcp, [::]:4000->4000/tcp   agentgateway

A container that exits immediately usually failed the license check. Read the logs, and see Licensing.

Find the UI address

Check the logs. Agentgateway logs which configuration file it loaded and where it serves the UI.

docker logs agentgateway

Example output:

info	state_manager	loaded config from File("/config/config.yaml")
info	state_manager	Watching config file: /config/config.yaml
info	app	serving UI at http://localhost:4000/ui
info	proxy::gateway	started bind	bind="bind/4000"

Open the UI

Open the address from the log output, such as http://localhost:4000/ui, to get started.

Run with Docker Compose

Docker Compose follows the same approach as the docker run command.

Create the Compose file

Create a compose.yaml file. The user value must be your own user and group IDs so that the container can write to the mounted directory.

services:
  agentgateway:
    container_name: agentgateway
    restart: unless-stopped
    image: us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise:2026.11.0
    # Replace with your user and group IDs, such as the output of: id -u && id -g
    user: "1000:1000"
    environment:
      ENTERPRISE_AGENTGATEWAY_LICENSE_KEY: ${ENTERPRISE_AGENTGATEWAY_LICENSE_KEY}
    ports:
      - "4000:4000"
    volumes:
      - ./agentgateway-config:/config

Compose reads ${ENTERPRISE_AGENTGATEWAY_LICENSE_KEY} from your shell or from a .env file beside the Compose file, so the key does not have to be written into compose.yaml.

Start the service

Create the configuration directory and start the service. Agentgateway generates a configuration file in the directory on the first start.

mkdir agentgateway-config
docker compose up -d

Verify that the service runs

Check the status of the service.

docker compose ps

Example output:

NAME           IMAGE                                         COMMAND               SERVICE        CREATED         STATUS         PORTS
agentgateway   us-docker.pkg.dev/solo-public/enterprise-agentgateway/agentgateway-enterprise:2026.11.0   "/app/agentgateway"   agentgateway   9 seconds ago   Up 8 seconds   0.0.0.0:4000->4000/tcp, [::]:4000->4000/tcp

Open the UI

Open http://localhost:4000/ui to get started.

Cleanup

Stop and remove the container.

docker rm -f agentgateway

Stop and remove the service.

docker compose down

Agentgateway leaves the configuration file and the SQLite database in the mounted directory. If you do not want to keep them, remove the directory too.

Next steps