Document Claude Code integration for Docker Model Runner#24243
Document Claude Code integration for Docker Model Runner#24243tfenster wants to merge 3 commits intodocker:mainfrom
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR adds documentation for using Anthropic’s Claude Code CLI with Docker Model Runner (DMR), expanding the “IDE and tool integrations” guide with setup steps and example commands.
Changes:
- Add a new “Claude Code” section describing what it is and how it integrates with DMR.
- Document configuration via
ANTHROPIC_BASE_URL, including macOS/Linux and Windows (PowerShell) examples. - Add a reference link to a relevant Docker Blog post for further details.
Comments suppressed due to low confidence (3)
content/manuals/ai/model-runner/ide-integrations.md:268
- Spelling: "environment varialbe" should be "environment variable".
2. Use the `ANTHROPIC_BASE_URL` environment varialbe to point Claude Code at DMR. On Mac or Linux you can do this e.g. like this if you want to use the `gpt-oss:32k` model:
content/manuals/ai/model-runner/ide-integrations.md:277
- Markdown formatting: the "You can find more details..." line is directly after the numbered list without a blank line, so it will likely render as part of step 2 rather than as a standalone paragraph (unlike the OpenCode section above). Add a blank line (or otherwise terminate the list) before this paragraph to avoid unintended nesting.
claude --model gpt-oss:32k
```
You can find more details in [this Docker Blog post](https://www.docker.com/blog/run-claude-code-locally-docker-model-runner/)
content/manuals/ai/model-runner/ide-integrations.md:276
- For consistency with other shell examples in this doc (e.g.,
bashfence at ide-integrations.md:163 andconsolefence at :172), consider adding language tags to these fenced command blocks (e.g., bash for macOS/Linux and powershell for Windows) to improve readability/syntax highlighting.
```bash
ANTHROPIC_BASE_URL=http://localhost:12434 claude --model gpt-oss:32k
```
On Windows (PowerShell) you can do it like this:
```powershell
$env:ANTHROPIC_BASE_URL="http://localhost:12434"
claude --model gpt-oss:32k
```
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/review |
There was a problem hiding this comment.
Review Summary
Thanks for documenting Claude Code integration! The technical content looks good and follows the established pattern for documenting IDE integrations. I found a couple of style issues related to Docker's documentation style guide that should be addressed.
Findings
- 2 style guide issues (marketing language and informal phrasing)
- Both are straightforward to fix
Decision: COMMENT (medium severity style issues found)
|
|
||
| ## Claude Code | ||
|
|
||
| [Claude Code](https://claude.com/product/claude-code) is [Anthropic's](https://www.anthropic.com/) command-line tool for agentic coding. It lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling Git workflows through natural language commands. |
There was a problem hiding this comment.
Marketing language - 'helps you code faster'
The phrase "helps you code faster" is marketing language per STYLE.md. The style guide recommends avoiding hedge words that overstate ease or capability.
Suggestion: Describe what Claude Code actually does factually, without implying speed benefits. For example:
Claude Code is Anthropic's command-line tool for agentic coding. It lives in your terminal, understands your codebase, and executes routine tasks, explains complex code, and handles Git workflows through natural language commands.
Or even simpler:
Claude Code is Anthropic's command-line tool for agentic coding that executes routine tasks, explains code, and handles Git workflows through natural language commands.
| ### Configuration | ||
|
|
||
| 1. Install Claude Code (see [docs](https://code.claude.com/docs/en/quickstart#step-1-install-claude-code)) | ||
| 2. Use the `ANTHROPIC_BASE_URL` environment variable to point Claude Code at DMR. On Mac or Linux you can do this e.g. like this if you want to use the `gpt-oss:32k` model: |
There was a problem hiding this comment.
Redundant phrasing - 'you can do this e.g. like this'
This phrase is redundant and violates STYLE.md guidelines:
- The word list states: "Use: for example, such as | Don't use: e.g."
- Using both "e.g." (which means "for example") and "like this" together is redundant
Suggestion: Rewrite to use one or the other:
Option 1:
On Mac or Linux, you can do this, for example:
Option 2:
On Mac or Linux, you can do this as follows:
Option 3:
For example, on Mac or Linux:
Description
Added instructions on how to use Claude Code based on the official blog post for the topic
Related issues or tickets
Reviews