docs: clarify container model auth

This commit is contained in:
Peter Steinberger
2026-05-27 19:03:57 +01:00
parent b01c6d4eaa
commit a4d33fd81b
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -82,6 +82,12 @@ Onboarding:
Then open `http://127.0.0.1:18789/` and use the token from `~/.openclaw/.env`.
Model auth in Podman:
- Use OpenClaw-managed auth during setup: Anthropic API keys for Anthropic, or OpenAI Codex browser OAuth/device-code auth for Codex-backed OpenAI.
- The Podman launcher does not mount host CLI credential homes such as `~/.claude` or `~/.codex` into the setup or gateway container.
- Existing host CLI logins are same-host convenience paths. For container installs, keep provider auth in the mounted `~/.openclaw` state that setup manages.
Host CLI default:
```bash
+8
View File
@@ -97,6 +97,14 @@ Anthropic's current public docs:
Setup and runtime details for the Claude CLI backend are in [CLI Backends](/gateway/cli-backends).
</Note>
<Warning>
Claude CLI reuse expects the OpenClaw process to run on the same host as the
Claude CLI login. Container installs such as [Podman](/install/podman) do
not mount host `~/.claude` into setup or runtime; use an Anthropic API key
there, or choose a provider with OpenClaw-managed OAuth such as
[OpenAI Codex](/providers/openai).
</Warning>
### Config example
Prefer the canonical Anthropic model ref plus a CLI runtime override: