惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
G
Google Developers Blog
B
Blog RSS Feed
A
About on SuperTechFans
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
D
Docker
F
Fortinet All Blogs
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
H
Help Net Security
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
博客园 - Franky
人人都是产品经理
人人都是产品经理
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: document automatic bonjour container policy · openc...
steipete · 2026-04-27 · via Recent Commits to openclaw:main

@@ -179,11 +179,10 @@ openclaw plugins disable bonjour

179179180180

## Docker gotchas

181181182-

Bundled Docker Compose sets `OPENCLAW_DISABLE_BONJOUR=1` for the Gateway service

183-

by default. Docker bridge networks usually do not forward mDNS multicast

184-

(`224.0.0.251:5353`) between the container and the LAN, so leaving Bonjour on can

185-

produce repeated ciao `probing` or `announcing` failures without making discovery

186-

work.

182+

The bundled Bonjour plugin auto-disables LAN multicast advertising in detected

183+

containers when `OPENCLAW_DISABLE_BONJOUR` is unset. Docker bridge networks

184+

usually do not forward mDNS multicast (`224.0.0.251:5353`) between the container

185+

and the LAN, so advertising from the container rarely makes discovery work.

187186188187

Important gotchas:

189188

@@ -193,16 +192,16 @@ Important gotchas:

193192

`OPENCLAW_GATEWAY_BIND=lan` so the published host port can work.

194193

- Disabling Bonjour does not disable wide-area DNS-SD. Use wide-area discovery

195194

or Tailnet when the Gateway and node are not on the same LAN.

196-

- Reusing the same `OPENCLAW_CONFIG_DIR` outside Docker does not inherit the

197-

Compose default unless the environment still sets `OPENCLAW_DISABLE_BONJOUR`.

195+

- Reusing the same `OPENCLAW_CONFIG_DIR` outside Docker does not persist the

196+

container auto-disable policy.

198197

- Set `OPENCLAW_DISABLE_BONJOUR=0` only for host networking, macvlan, or another

199-

network where mDNS multicast is known to pass.

198+

network where mDNS multicast is known to pass; set it to `1` to force-disable.

200199201200

## Troubleshooting disabled Bonjour

202201203202

If a node no longer auto-discovers the Gateway after Docker setup:

204203205-

1. Confirm whether the Gateway is intentionally suppressing LAN advertising:

204+

1. Confirm whether the Gateway is running in auto, forced-on, or forced-off mode:

206205207206

```bash

208207

docker compose config | grep OPENCLAW_DISABLE_BONJOUR

@@ -239,9 +238,9 @@ If a node no longer auto-discovers the Gateway after Docker setup:

239238

container bridges, WSL, or interface churn can leave the ciao advertiser in a

240239

non-announced state. OpenClaw retries a few times and then disables Bonjour

241240

for the current Gateway process instead of restarting the advertiser forever.

242-

- **Docker bridge networking**: bundled Docker Compose disables Bonjour by

243-

default with `OPENCLAW_DISABLE_BONJOUR=1`. Set it to `0` only for host,

244-

macvlan, or another mDNS-capable network.

241+

- **Docker bridge networking**: Bonjour auto-disables in detected containers.

242+

Set `OPENCLAW_DISABLE_BONJOUR=0` only for host, macvlan, or another

243+

mDNS-capable network.

245244

- **Sleep / interface churn**: macOS may temporarily drop mDNS results; retry.

246245

- **Browse works but resolve fails**: keep machine names simple (avoid emojis or

247246

punctuation), then restart the Gateway. The service instance name derives from

@@ -260,7 +259,8 @@ sequences (e.g. spaces become `\032`).

260259

- `openclaw plugins disable bonjour` disables LAN multicast advertising by disabling the bundled plugin.

261260

- `openclaw plugins enable bonjour` restores the default LAN discovery plugin.

262261

- `OPENCLAW_DISABLE_BONJOUR=1` disables LAN multicast advertising without changing plugin config; accepted truthy values are `1`, `true`, `yes`, and `on` (legacy: `OPENCLAW_DISABLE_BONJOUR`).

263-

- Docker Compose sets `OPENCLAW_DISABLE_BONJOUR=1` by default for bridge networking; override with `OPENCLAW_DISABLE_BONJOUR=0` only when mDNS multicast is available.

262+

- `OPENCLAW_DISABLE_BONJOUR=0` forces LAN multicast advertising on, including inside detected containers; accepted falsy values are `0`, `false`, `no`, and `off`.

263+

- When `OPENCLAW_DISABLE_BONJOUR` is unset, Bonjour advertises on normal hosts and auto-disables inside detected containers.

264264

- `gateway.bind` in `~/.openclaw/openclaw.json` controls the Gateway bind mode.

265265

- `OPENCLAW_SSH_PORT` overrides the SSH port when `sshPort` is advertised (legacy: `OPENCLAW_SSH_PORT`).

266266

- `OPENCLAW_TAILNET_DNS` publishes a MagicDNS hint in TXT when mDNS full mode is enabled (legacy: `OPENCLAW_TAILNET_DNS`).