Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Claude Code (via claude.ai/install.sh) (claude-code)

Installs Claude Code for AI code assistance https://code.claude.com

Example Usage

"features": {
    "ghcr.io/stu-bell/devcontainer-features/claude-code:0": {}
}

Supported OS

Tested on Alpine, Debian and Ubuntu.

Get Started

Add the feature to your devcontainer.json:

{
  "image": "mcr.microsoft.com/devcontainers/base:alpine",
  "features": {
    "ghcr.io/stu-bell/devcontainer-features/claude-code": {}
  }
}

Start your devcontainer, ssh in, and run: claude

Known Issues

High Memory Usage During Installation

During installation, especially with limited memory (e.g., in a Docker-in-Docker environment), the Claude Code installer (https://claude.ai/install.sh) has been observed to consume a significant amount of RAM, leading to the installation process being "Killed" due to Out-Of-Memory (OOM) errors. If you encounter memory-related installation failures, consider increasing the memory allocation for your Docker/Podman container or devcontainer.


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