Bind-mounts the host's ~/.claude into the container so Claude Code skills, settings, memory and login carry over.
"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.