Skip to content

Document Claude Code integration for Docker Model Runner#24243

Open
tfenster wants to merge 3 commits intodocker:mainfrom
tfenster:main
Open

Document Claude Code integration for Docker Model Runner#24243
tfenster wants to merge 3 commits intodocker:mainfrom
tfenster:main

Conversation

@tfenster
Copy link
Contributor

Description

Added instructions on how to use Claude Code based on the official blog post for the topic

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

Copilot AI review requested due to automatic review settings February 28, 2026 17:30
@tfenster tfenster requested a review from dvdksn as a code owner February 28, 2026 17:30
@netlify
Copy link

netlify bot commented Feb 28, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit caa8626
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69a326d07438370008a88800
😎 Deploy Preview https://deploy-preview-24243--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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., bash fence at ide-integrations.md:163 and console fence 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.

@dvdksn
Copy link
Contributor

dvdksn commented Mar 2, 2026

/review

Copy link
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants