Claude code - K8s devcontainer pattern
I've been trying to get the new Claude Code module working inside a DevContainer on Kubernetes. Setting install_claude_code: true in my template fails to install claude code, and when I try to inject it through startup_script in the coder_agent container, I hit this error:
--dangerously-skip-permissions cannot be used with root
I did notice the line in the docs mentioning that: codercom/oss-dogfood could be used for testing on container-based workspaces.
That said, our current setup relies on DevContainers and the envbuilder pattern, which we'd prefer to stick with for now.
Has anyone else tried running Claude Code with this setup? Did you run into the same installation issues or find a workaround? Any tips or experiences would be hugely appreciated!
