Skip to content

docs: add guide for using Claude Code with Docker Model Runner#24458

Open
Pradumnasaraf wants to merge 1 commit intodocker:mainfrom
Pradumnasaraf:add-dmr-claude
Open

docs: add guide for using Claude Code with Docker Model Runner#24458
Pradumnasaraf wants to merge 1 commit intodocker:mainfrom
Pradumnasaraf:add-dmr-claude

Conversation

@Pradumnasaraf
Copy link
Contributor

@Pradumnasaraf Pradumnasaraf commented Mar 21, 2026

Description

Add a guide for using Claude Code with Docker Model Runner

Reviews

  • Technical review
  • Editorial review
  • Product review
Screenshot 2026-03-21 at 5 17 18 PM

@netlify
Copy link

netlify bot commented Mar 21, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 45dcc07
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69be84ef960c8700083580a9
😎 Deploy Preview https://deploy-preview-24458--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

@brandonh6k brandonh6k left a comment

Choose a reason for hiding this comment

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

We may also want to update the Recommended Models table at the bottom of the DMR IDE Integrations page to include the models referenced in this guide.

Claude Code now sends requests to Docker Model Runner instead of Anthropic's
hosted API.

## Step 3: Make the endpoint persistent
Copy link
Contributor

Choose a reason for hiding this comment

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

It feels like we should have Step 5 here and shift everything else down one - to me, troubleshooting should be right after first launch and then we move through the rest of the steps in order. That way if a user runs into a problem, they don't have to scroll past 2 other steps to get to the troubleshooting section.

package `gpt-oss` with a larger context window, and inspect requests.
keywords: ai, claude code, docker model runner, anthropic, local models, coding assistant
params:
tags: [ai]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this where tags goes? I've seen some inconsistency in the guides - some have tags as a top level element in the frontmatter and others have it here under params. I didn't see anything in STYLE.md that said one way or the other.

model provider. You'll point Claude Code at the local Anthropic-compatible API,
run a coding model, and package `gpt-oss` with a larger context window for
longer repository prompts.

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want a learning outcomes list here? (see agentic-ai or localstack for example). Something like this for instance:

In this guide, you'll learn how to:

  • Pull a coding model and start Claude Code with Docker Model Runner
  • Make the endpoint configuration persistent
  • Package a model with a larger context window
  • Verify and inspect API requests


- [Docker Model Runner overview](../manuals/ai/model-runner/_index.md)
- [Docker Model Runner API reference](../manuals/ai/model-runner/api-reference.md)
- [IDE and tool integrations](../manuals/ai/model-runner/ide-integrations.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

The IDE Integrations page doesn't have a Claude Code section. Can we add one as part of this PR?


```bash {title="~/.bashrc or ~/.zshrc"}
export ANTHROPIC_BASE_URL=http://localhost:12434
```
Copy link
Contributor

Choose a reason for hiding this comment

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

No Powershell equivalent after we had a Powershell in Step 2 above.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants