docs: clarify container model auth · openclaw/openclaw@a4d33fd
steipete
·
2026-05-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -82,6 +82,12 @@ Onboarding:
|
82 | 82 | |
83 | 83 | Then open `http://127.0.0.1:18789/` and use the token from `~/.openclaw/.env`. |
84 | 84 | |
| 85 | +Model auth in Podman: |
| 86 | + |
| 87 | +- Use OpenClaw-managed auth during setup: Anthropic API keys for Anthropic, or OpenAI Codex browser OAuth/device-code auth for Codex-backed OpenAI. |
| 88 | +- The Podman launcher does not mount host CLI credential homes such as `~/.claude` or `~/.codex` into the setup or gateway container. |
| 89 | +- Existing host CLI logins are same-host convenience paths. For container installs, keep provider auth in the mounted `~/.openclaw` state that setup manages. |
| 90 | + |
85 | 91 | Host CLI default: |
86 | 92 | |
87 | 93 | ```bash |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -97,6 +97,14 @@ Anthropic's current public docs:
|
97 | 97 | Setup and runtime details for the Claude CLI backend are in [CLI Backends](/gateway/cli-backends). |
98 | 98 | </Note> |
99 | 99 | |
| 100 | +<Warning> |
| 101 | +Claude CLI reuse expects the OpenClaw process to run on the same host as the |
| 102 | +Claude CLI login. Container installs such as [Podman](/install/podman) do |
| 103 | +not mount host `~/.claude` into setup or runtime; use an Anthropic API key |
| 104 | +there, or choose a provider with OpenClaw-managed OAuth such as |
| 105 | +[OpenAI Codex](/providers/openai). |
| 106 | +</Warning> |
| 107 | + |
100 | 108 | ### Config example |
101 | 109 | |
102 | 110 | Prefer the canonical Anthropic model ref plus a CLI runtime override: |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。