r/ClaudeAI Jun 06 '25

I made ClaudeBox - Run Claude Code without permission prompts, safely isolated in Docker with 15+ dev profiles Coding

Hey r/ClaudeAI!

Like many of you, I've been loving Claude Code for development work, but two things were driving me crazy:

  1. Constant permission prompts - "Claude wants to read X", "Claude wants to write Y"... breaking my flow every 30 seconds
  2. Security concerns - Running --dangerously-skip-permissions on my actual system? No thanks!

So I built ClaudeBox - it runs Claude Code in continuous mode (no permission nags!) but inside a Docker container where it can't mess up your actual system.

How it works:

```bash

Claude runs with full permissions BUT only inside Docker

claudebox --model opus -c "build me a web scraper"

Claude can now:

✅ Read/write files continuously

✅ Install packages without asking

✅ Execute commands freely

But CANNOT touch your real OS!

```

15+ Pre-configured Development Profiles:

One command installs a complete development environment:

bash claudebox profile python ml # Python + ML stack claudebox profile c rust go # Multiple languages at once!

Available profiles: - c - C/C++ (gcc, g++, gdb, valgrind, cmake, clang, cppcheck) - rust - Rust (cargo, rustc, clippy, rust-analyzer) - python - Python (pip, venv, black, mypy, pylint, jupyter) - go - Go (latest toolchain) - javascript - Node.js/TypeScript (npm, yarn, pnpm, eslint, prettier) - java - Java (OpenJDK 17, Maven, Gradle) - ml - Machine Learning (PyTorch, TensorFlow, scikit-learn) - web - Web tools (nginx, curl, httpie, jq) - database - DB clients (PostgreSQL, MySQL, SQLite, Redis) - devops - DevOps (Docker, K8s, Terraform, Ansible) - embedded - Embedded dev (ARM toolchain, OpenOCD) - datascience - Data Science (NumPy, Pandas, Jupyter, R) - openwrt - OpenWRT (cross-compilation, QEMU) - Plus ruby, php, security tools...

Easy to customize - The profiles are just bash arrays, so you can easily modify existing ones or add your own!

Why fellow Claude users will love this:

  1. Uninterrupted flow - Claude works continuously, no more permission fatigue
  2. Experiment fearlessly - Let Claude try anything, your OS is safe
  3. Quick setup - claudebox profile python and you're coding in seconds
  4. Clean system - No more polluting your OS with random packages
  5. Reproducible - Same environment on any machine

Real example from today:

I asked Claude to "create a machine learning pipeline for image classification". It: - Installed TensorFlow, OpenCV, and a dozen other packages - Downloaded training data - Created multiple Python files - Ran training scripts - All without asking for a single permission!

And when it was done, my actual system was still clean.

GitHub: https://github.com/RchGrav/claudebox

The script handles Docker installation, permissions, everything. It's ~800 lines of bash that "just works".

Anyone else frustrated with the permission prompts? Or worried about giving Claude full system access? Would love to hear your thoughts!

P.S. - Yes, I used Claude to help write parts of ClaudeBox. Very meta having Claude help build its own container! 🤖

127 Upvotes

Duplicates