{"id":31225897,"url":"https://github.com/leoborai/docker-claude","last_synced_at":"2025-10-19T11:18:21.842Z","repository":{"id":314813480,"uuid":"1056845180","full_name":"LeoBorai/docker-claude","owner":"LeoBorai","description":"🐳 A containerized development environment based on Node.js with modern tooling and AI-powered coding assistance.","archived":false,"fork":false,"pushed_at":"2025-09-14T23:31:01.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T00:29:12.697Z","etag":null,"topics":["claude","development","docker","sandbox"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeoBorai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-14T23:08:24.000Z","updated_at":"2025-09-14T23:29:56.000Z","dependencies_parsed_at":"2025-09-15T00:29:15.515Z","dependency_job_id":"c12aee52-2bce-4a97-a817-a91ea6e6916b","html_url":"https://github.com/LeoBorai/docker-claude","commit_stats":null,"previous_names":["leoborai/docker-claude"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/LeoBorai/docker-claude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Fdocker-claude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Fdocker-claude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Fdocker-claude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Fdocker-claude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoBorai","download_url":"https://codeload.github.com/LeoBorai/docker-claude/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Fdocker-claude/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276333932,"owners_count":25624049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude","development","docker","sandbox"],"created_at":"2025-09-22T01:59:00.073Z","updated_at":"2025-09-22T01:59:01.122Z","avatar_url":"https://github.com/LeoBorai.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker + Claude\n\nA containerized development environment based on Node.js with modern tooling\nand AI-powered coding assistance.\n\n## Overview\n\nThis Dockerfile creates a comprehensive development container that includes Node.js runtime, essential development tools, and AI-powered coding capabilities through Claude Code. It's designed to provide a consistent, portable development environment that works across different machines and platforms.\n\n## Features\n\n### Runtime \u0026 Package Managers\n\n- **Node.js 24** (Bookworm Slim base)\n- **npm** (included with Node.js)\n- **Bun** - Fast JavaScript runtime and package manager\n\n### Development Tools\n\n- **git** - Version control\n- **curl** - HTTP client and file transfer\n- **ripgrep** (`rg`) - Ultra-fast text search\n- **fd-find** (`fd`) - Fast file finder\n- **jq** - JSON processor\n- **tree** - Directory structure visualization\n- **bat** - Syntax-highlighted file viewer\n- **htop** - Interactive process monitor\n- **unzip** - Archive extraction\n\n### AI-Powered Development\n\n- **Claude Code** - AI assistant for coding tasks directly from the command line\n\n### Security \u0026 Permissions\n\n- Runs as non-root user (`node`) for security\n- Configurable user ID/group ID for file permission compatibility\n- Sudo access configured for the development user\n\n## Requirements\n\n- Docker or compatible container runtime\n- For Claude Code: Anthropic API key (set via environment variables)\n\n## Usage\n\nAdd the following `docker-compose.dev.yml` to your project:\n\n```yml\nservices:\n  claude:\n    image: 'ghcr.io/leoborai/docker-claude:latest'\n    volumes:\n      - ../:/workspaces/dev\n    command: sleep infinity\n```\n\nThen run the Docker Compose file:\n\n```bash\ndocker compose -f ./dev/docker-compose.dev.yml up --build --detach\n```\n\nFinally _exec_ into the running container:\n\n```bash\ndocker exec -it \u003ccontainer_id\u003e bash\n```\n\nClaude will be available as `claude` command in the terminal.\n\n## Notes\n\n- The container runs as a non-root user for security\n- All development tools are pre-installed and ready to use\n- The image is optimized for size by cleaning apt cache after installation\n- Sudo access is available for installing additional packages if needed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoborai%2Fdocker-claude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoborai%2Fdocker-claude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoborai%2Fdocker-claude/lists"}