Skip to content

Commit a4d33fd

Browse files
committed
docs: clarify container model auth
1 parent b01c6d4 commit a4d33fd

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

docs/install/podman.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ Onboarding:
8282

8383
Then open `http://127.0.0.1:18789/` and use the token from `~/.openclaw/.env`.
8484

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+
8591
Host CLI default:
8692

8793
```bash

docs/providers/anthropic.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ Anthropic's current public docs:
9797
Setup and runtime details for the Claude CLI backend are in [CLI Backends](/gateway/cli-backends).
9898
</Note>
9999

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+
100108
### Config example
101109

102110
Prefer the canonical Anthropic model ref plus a CLI runtime override:

0 commit comments

Comments
 (0)