Skip to content

docs: describe the current network model - #8

Merged
Asdivyansh merged 1 commit into
SilosLabs:mainfrom
TheDreamSaver:docs/network-model-drift
Nov 1, 2026
Merged

Asdivyansh merged 1 commit into
SilosLabs:mainfrom
TheDreamSaver:docs/network-model-drift

Conversation

@TheDreamSaver

Copy link
Copy Markdown
Member

Fixes #7

What

Updates the docs to the current network model, where silo-sandbox-net is --internal on every platform, Docker Desktop uses the silo-gateway sidecar, and --add-host is native-Linux only:

  • Docker Desktop described as a standard bridge, or --internal as Linux-only: docs/architecture.md, docs/getting-started.md, docs/sandbox-agents.md (×2), docs/security-model.md:14, and the README security table.
  • --add-host scoped to native Linux, with the sidecar alias as the Docker Desktop equivalent: docs/architecture.md, docs/sandbox-agents.md, docs/integrations.md, and both diagrams in docs/proxy-and-networking.md.
  • no_proxy: now includes llm.gateway, matching templates.ts:113 (docs/architecture.md, docs/configuration.md).
  • docs/troubleshooting.md: the /etc/hosts and ping llm.gateway checks are replaced with getent hosts llm.gateway. On Docker Desktop the alias is never in /etc/hosts, and ping can't run in the sandbox (--cap-drop ALL removes CAP_NET_RAW, and python:3.12-slim doesn't include ping).
  • sandbox/Dockerfile header comment: --network none → --network silo-sandbox-net.

Docs and comments only; no code changes.

Testing

  • grep for the old phrasings ("standard bridge on Docker Desktop", "internal on native Linux", "proxy-routed egress with", --network none, ping llm.gateway, the /etc/hosts expectation) finds nothing left.
  • npm run typecheck, npm test (339 passed) and npm run build pass.
  • No relative links changed.

silo-sandbox-net is created --internal on every platform; Docker Desktop
reaches the proxy through the silo-gateway sidecar, and --add-host is only
used on native Linux. Several docs still described the earlier model
(a standard bridge on Docker Desktop), listed no_proxy without
llm.gateway, and the troubleshooting guide checked /etc/hosts and ran
ping, both of which fail on a working setup.

Fixes SilosLabs#7
@Asdivyansh
Asdivyansh merged commit 862e610 into SilosLabs:main Nov 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs describe the old network model (standard bridge on Docker Desktop, /etc/hosts and ping checks)

2 participants