Skip to content

Docker Deployment

You do not need to read this unless you are running agent-bom directly through Docker (compose, ad hoc docker run, or the SSE/runtime Dockerfiles). For the production rollout path, start with Deployment Overview and follow the paved path it recommends.

Use this page for containerized entrypoints. The product split (one agentbom/agent-bom runtime image plus the agentbom/agent-bom-ui browser image) is documented in Deployment Overview; this page only covers Docker-specific commands and image variants.

Pilot on one workstation:

curl -fsSL https://raw.githubusercontent.com/koda-ai-studio/agent-bom/main/deploy/docker-compose.pilot.yml -o docker-compose.pilot.yml
docker compose -f docker-compose.pilot.yml up -d
# Dashboard -> http://localhost:3000

The UI image does not replace the API image. A self-hosted browser deployment still needs the API/control-plane service from agentbom/agent-bom.

Use these in this order:

Path Status Use when
deploy/docker-compose.pilot.yml recommended fastest one-machine pilot with the shipped images
deploy/docker-compose.fullstack.yml advanced local example you want a fuller single-machine compose setup and are comfortable editing local compose files
deploy/docker-compose.platform.yml component example you are focusing on the control-plane/platform layer only
deploy/docker-compose.runtime-example.yml component example you are focusing on proxy/runtime behavior only

If you want the full self-hosted deployment path for your own infrastructure, use scripts/deploy/install.sh eks with deploy/terraform/platform-eks instead of trying to stretch a Compose file into production.

Quick scan

docker run --rm agentbom/agent-bom:latest agents --demo

With host config access

Mount your MCP client configs for auto-discovery:

docker run --rm \
  -v "$HOME/.config:/home/abom/.config:ro" \
  -v "$HOME/.agent-bom:/home/abom/.agent-bom" \
  -v "$HOME/Library/Application Support:/home/abom/Library/Application Support:ro" \
  agentbom/agent-bom:latest agents

Self-hosted SSE server

docker build -f deploy/docker/Dockerfile.sse -t agent-bom-sse .
docker run -p 8080:8080 agent-bom-sse

Proxies and custom CA bundles

All maintained agent-bom images accept the standard proxy variables:

  • HTTP_PROXY
  • HTTPS_PROXY
  • NO_PROXY

They also support mounted enterprise CA bundles through:

  • SSL_CERT_FILE
  • REQUESTS_CA_BUNDLE
  • CURL_CA_BUNDLE
  • PIP_CERT

Example:

docker run --rm \
  -e HTTPS_PROXY=http://proxy.internal:8080 \
  -e NO_PROXY=localhost,127.0.0.1 \
  -e SSL_CERT_FILE=/certs/internal-ca.pem \
  -e REQUESTS_CA_BUNDLE=/certs/internal-ca.pem \
  -v ./internal-ca.pem:/certs/internal-ca.pem:ro \
  agentbom/agent-bom:latest --version

Runtime proxy against a remote MCP endpoint

docker pull agentbom/agent-bom:0.115.6
docker run --rm -i \
  -v ./audit-logs:/var/log/agent-bom \
  agentbom/agent-bom:0.115.6 \
  proxy \
  --log /var/log/agent-bom/audit.jsonl \
  --block-undeclared \
  --url http://host.docker.internal:3000

For stdio MCP wrapping, prefer the repo's runtime compose example or run agent-bom proxy on the host where the target MCP command and its runtime (node, uvx, python, etc.) are installed.

Images

Approved images and immutable deployments

Use an approved image digest for production, for example agentbom/agent-bom@sha256:<approved-index-digest>. A digest identifies immutable content; latest is a floating tag and a version tag is still a registry label. Pinning an image does not keep its dependencies free of newly disclosed CVEs.

Treat a golden image as an approved artifact with retained evidence:

  1. Record the image index digest and the platform digest for every architecture deployed. Validate the signature's expected workflow identity and issuer, and retain the SBOM, provenance, scan coverage and runtime smoke results.
  2. Approve and deploy that exact digest. Rebuilding the same source can produce a different image; a new digest needs its own validation.
  3. Rescan deployed digests as advisories change. For a fix, validate a replacement digest and deliberately roll deployments forward. Keep the prior digest and its evidence available for rollback review.

The release workflow builds with SBOM and provenance metadata and signs the published images. The daily security refresh rebuilds the released application with reviewed runtime security overlays and updates the Docker Hub latest tags; it does not update already pinned deployments. Review the completed workflow and its exact image evidence before approving a refreshed digest.

The image vulnerability gate excludes findings without an available fix and applies the repository's reviewed exception policy. Passing that gate means meeting that policy, not that the image has no vulnerabilities. Incomplete coverage must remain explicit in the approval evidence.

Image variants

Image Purpose
agentbom/agent-bom:latest Main runtime image: CLI, API, scanner jobs, gateway, MCP server
agentbom/agent-bom-ui Standalone browser UI image for split control-plane deploys
deploy/docker/Dockerfile.sse SSE MCP server
deploy/docker/Dockerfile.runtime Local rebuild recipe for the runtime proxy path shipped in agentbom/agent-bom
deploy/docker/Dockerfile.snowpark Snowflake Native App