Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Claude config mount (claude-mount)

Bind-mounts the host's ~/.claude into the container so Claude Code skills, settings, memory and login carry over.

Example Usage

"features": {
    "ghcr.io/NicoVIII/devcontainer-features/claude-mount:0": {}
}

This feature bind-mounts the host's ~/.claude to /mnt/host-claude and symlinks it to ~/.claude of the container's remote user. Everything under ~/.claude — skills, settings, memory and your login credentials — is therefore shared read-write with the host.

Because the login is shared, a Claude Code session started inside the container is already authenticated. Any session state the container writes (e.g. projects/, todos/) lands in your host ~/.claude as well; projects/ is keyed by working-directory path, so container paths produce additional entries next to your host ones.

The mount source is your host ~/.claude and it must exist on the host: the bind mount uses docker --mount, which aborts container creation if the source path is missing. If you have never run Claude Code on the host, create it first with mkdir -p ~/.claude.


Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.