Skip to content

stefanoschrs/vibe-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

vibe-sandbox

A Docker-based sandbox environment for vibe coding with AI CLI tools. Supports Claude Code CLI (Anthropic) and/or OpenAI Codex CLI — mount your project and credentials, and start coding.

What's inside


Prerequisites

  • Docker installed and running
  • API credentials for the CLI(s) you intend to use:
    • Claude Code: ~/.claude/ directory (populated after running claude login)
    • OpenAI Codex: ~/.codex/auth.json

Build

docker build -t stefanoschrs/vibe-sandbox .

Or pull the pre-built image from Docker Hub:

docker pull stefanoschrs/vibe-sandbox

Run

In all examples below $(pwd) is the project directory you want to work in. Change it to an absolute path if needed.

Claude Code only

docker run -ti --rm \
  -v ~/.claude:/root/.claude \
  -v $(pwd):/app \
  -w /app \
  stefanoschrs/vibe-sandbox

Inside the container, run:

claude

OpenAI Codex only

docker run -ti --rm \
  -v ~/.codex/auth.json:/root/.codex/auth.json \
  -v $(pwd):/app \
  -w /app \
  stefanoschrs/vibe-sandbox

Inside the container, run:

codex

Both Claude Code and OpenAI Codex

docker run -ti --rm \
  -v ~/.claude:/root/.claude \
  -v ~/.codex/auth.json:/root/.codex/auth.json \
  -v $(pwd):/app \
  -w /app \
  stefanoschrs/vibe-sandbox

First-time authentication

If you haven't authenticated yet, run the container without mounting credentials and log in interactively. The credentials will be stored inside the container (not persisted). Mount the credential paths on subsequent runs.

Claude Code

docker run -ti --rm stefanoschrs/vibe-sandbox claude login

Then copy ~/.claude out of the container, or use docker cp.

OpenAI Codex

docker run -ti --rm stefanoschrs/vibe-sandbox codex login

Then copy ~/.codex/auth.json out of the container.


License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors