Containers
The control plane makes every container a Bot needs through a container engine’s socket: the Bot’s machine, a sidecar per STDIO connector, a drive sidecar per Bot, and the network filter’s gateway. These settings are under Admin → Settings → Server.
The server
Section titled “The server”| Key | Default | What it does |
|---|---|---|
http_addr |
:8080 |
Where the control plane listens: the console, its API, and the machines. Restart required. |
worker_addr |
:8081 |
A second listener that serves only what a Bot’s machine and a STDIO sidecar call, each opened by its own token. The network filter forwards the machines there, so nothing behind the filter can reach the console, the people’s API or an artifact. Empty: no such listener, and the gateway forwards to cp_url’s own port. Restart required. |
data_dir |
./data |
Every Bot’s workspace, artifacts and history, the skills’ files, and Claude Code’s. Restart required. |
database_url |
postgres://silo:silo@localhost:5433/silo?sslmode=disable |
Postgres 17 with pgvector. Restart required. |
docker_host |
$DOCKER_HOST |
The engine’s socket, such as unix:///run/user/1000/podman/podman.sock. Restart required. |
cp_url |
http://host.containers.internal:8080 |
Where the machines and sidecars dial the control plane. |
cp_network |
none | The engine’s network the control plane is on, when it runs as a container there. Below. |
debug |
false |
Keep a log of every model call, shown under Admin → Debug. |
cp_url must be reachable from inside a container. Silo adds host.containers.internal to each one, or with cp_network puts them on that network. If a Bot never comes online, its machine cannot see the control plane.
Images
Section titled “Images”Silo runs four images of its own: the Bot’s machine (silo-bot), the STDIO sidecar (silo-mcp-stdio), the drive sidecar (silo-drive) and the gateway (silo-egress). A control plane runs the images of its own build, so leave the image keys unset unless you mean to pin one:
| Build | Images |
|---|---|
A release, vX.Y.Z |
ghcr.io/d-513/silo-*:vX.Y.Z |
| A nightly | ghcr.io/d-513/silo-*:master-<sha> |
| A development build | localhost/silo-*:dev, built with make images and never pulled |
silo version prints which one you have. With images.pull: missing, the control plane fetches its images as it starts and before it makes a container from one it lacks. A release’s tag never moves, so that is all a release needs; always is for a pinned tag that does move (:master, :latest).
A container made from an older image, or made under other settings (a new memory limit, say), is made again by the rule for its kind, and Settings → Containers and Admin → Containers mark it Update waiting until then:
| Container | Made again |
|---|---|
| A Bot’s machine | When it next starts from stopped. A running machine holds what the Bot has open, so it is never replaced under it: Stop, then Start. The workspace, drives and connectors stay. |
| Drive sidecar | With its machine: it stops with the Bot and is made again at the next start. |
| STDIO sidecar | When the control plane next opens a session to it. |
| Gateway | Within a minute, running or not. It keeps its address, so the Bots lose their way out only for the seconds it takes to start. |
| Key | Default | What it does |
|---|---|---|
images.pull |
missing |
missing, always (at start, every hour and before a create, at most every 10 minutes an image) or never. |
bot_image |
this build’s | A Bot’s machine. |
mcp_stdio_image |
this build’s | STDIO connectors’ sidecars. An admin may give one connector another image. |
drives.image |
this build’s | The drive sidecar. |
egress.image |
this build’s | The network filter’s gateway. |
A Bot’s machine
Section titled “A Bot’s machine”| Key | Default | What it does |
|---|---|---|
bot_limits.memory_mb |
0 (none) |
Each machine’s memory, Chromium and all it runs included: 0, or at least 512. |
bot_limits.pids |
4096 |
Processes and threads a machine may hold at once: 0, or at least 256. A runaway build or a fork bomb stops there instead of starving the host. |
drives.mount_root |
<data_dir>/drives-mnt; on macOS /var/tmp/silo-drives |
Where drive mounts live, as a path the engine sees. It must carry mount propagation, so on a podman machine it is inside the VM, not the shared data/ folder. |
drives.cache_max_size |
10G |
rclone’s cache per drive. |
Limits are taken when a machine is made: a stopped machine made under other limits is made again at its next start.
Running the control plane in a container
Section titled “Running the control plane in a container”The silo image holds the control plane with the console compiled in, served on the same port as its API. Podman and Docker walk through it; what matters is:
- The engine’s socket at
/run/docker.sock. Whoever holds a rootful engine’s socket is root on the host; the control plane running as uid 1000 inside is a second line, not the wall. - Its directory at the same path as on the host (
-v /var/lib/silo:/var/lib/silo), owned by uid 1000. It holdssilo.yamlanddata/. The control plane hands the engine paths underdata/to bind into the Bots’ machines, and the engine reads those on the host, so a different path, or a named volume, points every workspace at nothing. - Its ports: 8080 (the console, and the machines when they come in through the host), 8081 (
worker_addr), 3479 UDP and TCP for calls, and 25 to 2525 for mail. - The database:
SILO_DATABASE_URL. - Not named
silo-…: that prefix is the control plane’s own containers, which Admin → Containers lists andmake cleanupremoves.
On a network of its own
Section titled “On a network of its own”Publishing 8080 only so the machines can come back in through the host is the long way round. Put the control plane on one of the engine’s networks and name it in cp_network: the gateway and the drive sidecars join that network and dial the control plane by its container’s name, and 8080 is published for your proxy alone, or not at all when the proxy is on that network too.
podman network create silopodman run -d --name silo --restart unless-stopped --network silo \ --userns=keep-id:uid=1000,gid=1000 --security-opt label=disable \ -v "$XDG_RUNTIME_DIR/podman/podman.sock:/run/docker.sock" \ -v /var/lib/silo:/var/lib/silo \ -p 127.0.0.1:8080:8080 -p 3479:3479/udp -p 3479:3479/tcp -p 25:2525 \ -e SILO_CP_URL=http://silo:8080 -e SILO_CP_NETWORK=silo \ -e SILO_DATABASE_URL=postgres://… -e SILO_PUBLIC_URL=https://silo.example.com \ ghcr.io/d-513/silo:vX.Y.ZThree things follow from the control plane no longer being on the host:
- Its resolvers are the network’s. With the network filter on, set
egress.dns, or bind the host’s/run/systemd/resolveread-only at the same path: the gateway cannot use the DNS of a network it is not on. - Callers’ addresses. Rootless Podman forwards a published port so that the container sees its own address in place of the caller’s: mail is then never verified (SPF needs the sender’s address) and its limits count everyone as one. Podman 6 has a forwarder that keeps the address:
rootless_port_forwarder = "pasta"under[network]incontainers.conf, changed only while no container runs. An older Podman works without it, less those addresses. A rootful engine keeps them by itself. - Calls need the host’s addresses in
voice.webrtc.public_ips, since the control plane’s own are the network’s.
A change of cp_network makes the gateway again at once, and a drive sidecar at its next start.
SiloOS is all of this as a bootable image, on rootless Podman.