Apache Casbin Gateway
5. Operations

5.4 Docker and Podman

A container cannot see the agents on your machine.

Agents are discovered by reading the home directories and install paths of the machine Gateway runs on, and inside a container that is the container's own filesystem. So Agents, Skills, MCP & Prompts and agent monitoring stay empty there — and the pages say so, rather than pretending nothing is installed.

Everything that does not depend on the host works normally: Providers, Authenticity and LLM Records.

So: run the one-command install on the machine whose agents you want to watch, and use a container when Gateway is only a model endpoint for other machines.

Running it

No image is published, so the compose file builds one from a checkout of this repository:

docker compose up -d

Podman reads the same file:

podman compose up -d

Either way:

  • The UI is on http://localhost:17000.
  • The SQLite database lives in a named volume that survives down.
  • conf/app.conf is mounted from the repository, so the settings it seeds can be edited before the first start without rebuilding the image.

If it serves other machines

A container is usually reachable from outside the host, which is exactly the case 5.2 is about: change the admin password, and send the relay token with every request to /v1.

Next: 5.5 Updating, stopping and removing.

Edit on GitHub
Apache Incubator

Apache Casbin (Incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright © 2026 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.

Apache, Apache Casbin, the names of Apache projects, and the feather logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. All other marks mentioned may be trademarks or registered trademarks of their respective owners.

On this page