Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How can I preserve the local configuration files I have with this container? (the custom slash commands, config.json etc)


Mount them to the local filesystem, maybe even as read-only so Claude cannot modify them.

It actually makes bootstrapping the dev env so much easier too, basically just take a template .devcontainers and you're golden. After that just tell Claude what files you want to mount to the filesystem and restart




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: