-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
Problem
When running Claude Code inside the vibekit Docker sandbox, it crashes or outputs errors due to missing system dependencies:
- File editing fails - Claude Code needs a text editor but none is installed, causing edit operations to fail
- Diagnostic failures - Claude Code uses
pscommand for diagnostics, but procps package is missing - MCP servers won't run - Many MCP servers are Node.js-based and can't start because Node.js isn't in the container
- Configuration errors - Claude Code has issues writing to
/root/.claudewhen the directory doesn't exist
These aren't just inconveniences - they cause Claude Code to crash or produce errors that break the workflow.
Proposed solution
Add these system dependencies to packages/cli/Dockerfile:
procps- providespscommand used by Claude Code for diagnosticsneovim- text editor for file operations- Node.js LTS - runtime for MCP servers
- Pre-create
/root/.claudedirectory
Questions for maintainers
-
Editor choice: Should we hardcode neovim, or provide a way for users to configure their preferred editor (vim, nano, etc.)? If configurable, where should this setting live?
-
Scope: These dependencies would be added to the main CLI Dockerfile. Is this the right approach, or should there be a different strategy for tool-specific requirements?
Impact
Total image size increase is around 60-65MB. This makes Claude Code fully functional in the sandbox without crashes.
Metadata
Metadata
Assignees
Labels
No labels