{"id":49628387,"url":"https://github.com/tmck-code/claude-container","last_synced_at":"2026-05-05T09:05:11.748Z","repository":{"id":346126064,"uuid":"1186812445","full_name":"tmck-code/claude-container","owner":"tmck-code","description":"For running Claude Code","archived":false,"fork":false,"pushed_at":"2026-04-02T06:37:21.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T09:22:52.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmck-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2026-03-20T02:34:14.000Z","updated_at":"2026-04-02T06:37:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tmck-code/claude-container","commit_stats":null,"previous_names":["tmck-code/claude-container"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmck-code/claude-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Fclaude-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Fclaude-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Fclaude-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Fclaude-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmck-code","download_url":"https://codeload.github.com/tmck-code/claude-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Fclaude-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32642315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":[],"created_at":"2026-05-05T09:05:04.581Z","updated_at":"2026-05-05T09:05:11.725Z","avatar_url":"https://github.com/tmck-code.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# claude-container\n\nRun Claude Code safely in a containerized environment.\n\n## Commands\n\n- build the Docker image:\n    ```shell\n    docker build -t claude-code .\n    ```\n- run container\n    - bind-mounting the current directory and\n    - your Claude credentials, to avoid re-auth on every run\n- with max security (no bind-mounting of the `.venv` dir, and no `GITHUB_TOKEN` env var):\n    ```bash\n    docker run -it \\\n        -v $HOME/.claude.json:/home/claude/.claude.json \\\n        -v $HOME/.claude/:/home/claude/.claude/ \\\n        -v $PWD/pyproject.toml:/app/pyproject.toml \\\n        -v $PWD/uv.lock:/app/uv.lock \\\n        -v $PWD/my-code-dir:/app/my-code-dir \\ # \u003c-- replace with your code dir\n        claude-code \\\n        bash -c 'claude --dangerously-skip-permissions'\n    ```\n- more convenience (bind-mounting the whole dir including `.venv.` and passing `GITHUB_TOKEN` env var):\n    ```bash\n    docker run -it \\\n        -v $HOME/.claude.json:/home/claude/.claude.json\n        -v $HOME/.claude/:/home/claude/.claude/ \\\n        -v $PWD:/app \\\n        -e GITHUB_TOKEN=$(gh auth token) \\\n        claude-code \\\n        bash -c 'claude --dangerously-skip-permissions'\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmck-code%2Fclaude-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmck-code%2Fclaude-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmck-code%2Fclaude-container/lists"}