trailofbits / trailofbits/claude-code-devcontainer

Claude launching setup in the container through CLI

Open
#36 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
943
Forks
103
Avg merge
47m
Merged PRs (30d)
2

Description

Thanks for the repo guys!

Probably I'm missing something here.

What I did:

claude setup-token                          # run on host, one-time
export CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
devc rebuild                                # rebuilds with token
devc shell
claude

Gives me the init claude screen and then stuck when I have to login (does not open browser).

Cheers,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported sequence with claude setup-token, devc rebuild, devc shell, and claude; the payload does not name a source file or test. Trace how authentication is initialized inside the container and verify that the CLI can complete setup without requiring a browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.