[BUG] Plugin cannot launch Claude when using Rancher Desktop
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?
I'm using your Claude Code Jetbrains Plugin to run Claude Code within Goland.
Clicking the button that launches the terminal window and invokes claude was working ok previously.
Then, at some point, I stopped using Docker Desktop and started using Rancher Desktop.
I had to setup some environment variables in my .zshrc for that. In particular, I do:
export DOCKER_HOST=unix://$HOME/.rd/docker.sock
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_HOST_OVERRIDE=$(rdctl shell ip a show vznat | awk '/inet / {sub("/.*",""); print $2}')
I can't understand why, but this breaks the mentioned button, that is not able to launch Claude anymore. Strangely, if I open a terminal window and type "claude -c", it works perfectly.
What Should Happen?
Clicking the button should open the terminal window and invoke claude, no matter those envvars for rancher are defined or not.
Error Messages/Logs
The IDE UI says it cannot find the claude executable.
Steps to Reproduce
- Install rancher desktop. As a consequence of that, you will have the following in your ~/.zshrc:
export PATH="/Users/<your-username>/.rd/bin:$PATH"
- Include the following in your ~/.zshrc:
export DOCKER_HOST=unix://$HOME/.rd/docker.sock
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_HOST_OVERRIDE=$(rdctl shell ip a show vznat | awk '/inet / {sub("/.*",""); print $2}')
- Open Goland
- Click Claude Code button
- See how it fails
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.30
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Thx, and keep up the good work. I'm using Claude Code more and more every day.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗