claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] JetBrains IDE plugin integration does not work when Claude Code runs in Docker container

Open mikaelstaldal opened this issue 2 months ago • 4 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

JetBrains IDE plugin integration does not work when Claude Code runs in Docker container, Claude Code is unable to connect to the IDE. I have tried the "Accept connections from all network interfaces" setting.

This is on Linux, and I am running the Docker container with docker run --network=host ....

What Should Happen?

It should be able to connect to the IDE.

Error Messages/Logs


Steps to Reproduce

  1. Install the Claude Code in JetBrains IntelliJ IDEA Ultimate
  2. Restart the IDE
  3. Press the icon to launch Claude Code from the IDE

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.0.11 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

No response

mikaelstaldal avatar Oct 09 '25 16:10 mikaelstaldal

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 07 '25 10:12 github-actions[bot]

The issue still exists, with Claude Code 2.0.61 and Jetbrains IDE plugin 0.1.13-beta.

mikaelstaldal avatar Dec 08 '25 08:12 mikaelstaldal

@mikaelstaldal - is your IDE running locally or in the container? Using IntelliJ in remote development mode (Devcontainer) works for me, as long as the Claude Code plugin is installed on the host, not on the client, and Claude code is also installed and running in the container.

lukens avatar Dec 11 '25 15:12 lukens

@mikaelstaldal - is your IDE running locally or in the container?

The IDE is running locally.

mikaelstaldal avatar Dec 12 '25 18:12 mikaelstaldal

The issue still exists, with Claude Code 2.0.61 and Jetbrains IDE plugin 0.1.14-beta.

327100395 avatar Dec 17 '25 07:12 327100395