Skip to content

docs(claude-code): fix plugins path corruption with volume overlay#21

Merged
tmaier merged 1 commit into
mainfrom
feature/claude-mount
Apr 23, 2026
Merged

docs(claude-code): fix plugins path corruption with volume overlay#21
tmaier merged 1 commit into
mainfrom
feature/claude-mount

Conversation

@tmaier
Copy link
Copy Markdown
Owner

@tmaier tmaier commented Apr 23, 2026

Summary

Test plan

  • Rebuild a Dev Container using the new mount config
  • Verify plugins install without corrupted installLocation error
  • Verify conversation history, settings, and credentials persist across container restarts
  • Run npx ccusage@latest to confirm projects/ data is accessible

Copilot AI review requested due to automatic review settings April 23, 2026 22:44
Copy link
Copy Markdown

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

Updates the Claude Code devcontainer feature documentation to prevent plugins/ path corruption when persisting ~/.claude across host/container, and bumps the feature version.

Changes:

  • Bump claude-code feature version from 2.1.0 to 2.1.1.
  • Replace the previous single bind-mount guidance with a bind-mount + per-container volume overlay for plugins/.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/claude-code/devcontainer-feature.json Version bump to reflect updated documentation/release.
src/claude-code/NOTES.md New guidance: bind-mount ~/.claude but overlay plugins/ with a named volume to avoid corrupted installLocation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/claude-code/NOTES.md Outdated
Comment thread src/claude-code/NOTES.md
The plugins/ subdirectory stores hardcoded absolute paths that break
when ~/.claude/ is shared between host and container. Document the
fix: overlay plugins/ with a per-container named Docker volume.
@tmaier tmaier force-pushed the feature/claude-mount branch from 0871888 to 36ad284 Compare April 23, 2026 23:12
@tmaier tmaier merged commit 08d562d into main Apr 23, 2026
55 checks passed
@tmaier tmaier deleted the feature/claude-mount branch April 23, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants