Repository navigation
docs: describe the current network model - #8
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7
What
Updates the docs to the current network model, where
silo-sandbox-netis--internalon every platform, Docker Desktop uses thesilo-gatewaysidecar, and--add-hostis native-Linux only:--internalas 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-hostscoped 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 indocs/proxy-and-networking.md.no_proxy: now includesllm.gateway, matchingtemplates.ts:113(docs/architecture.md,docs/configuration.md).docs/troubleshooting.md: the/etc/hostsandping llm.gatewaychecks are replaced withgetent hosts llm.gateway. On Docker Desktop the alias is never in/etc/hosts, andpingcan't run in the sandbox (--cap-drop ALLremovesCAP_NET_RAW, andpython:3.12-slimdoesn't includeping).sandbox/Dockerfileheader comment:--network none→--network silo-sandbox-net.Docs and comments only; no code changes.
Testing
grepfor the old phrasings ("standard bridge on Docker Desktop", "internal on native Linux", "proxy-routed egress with",--network none,ping llm.gateway, the/etc/hostsexpectation) finds nothing left.npm run typecheck,npm test(339 passed) andnpm run buildpass.