Skip to content

Document interactive login support for Docker Sandboxes with Claude Code #24043

@dvdksn

Description

@dvdksn

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

The current documentation suggests that Docker Sandboxes only work with API keys, but they also support interactive authentication through Claude Code's login flow.

Location

https://docs.docker.com/ai/sandboxes/get-started/, https://docs.docker.com/ai/sandboxes/claude-code/#authentication

Suggestion

The authentication sections should mention that users can authenticate interactively when starting Claude Code. They'll either be prompted automatically or can use the /login command.

Important caveat to include:
If the sandbox gets removed/destroyed, the user will need to authenticate again since the session isn't persisted.
This would give users a clearer picture of their authentication options beyond just API keys.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions