by aerovato
Safely run OpenCode, Codex, Claude Code with full permissions.
# Add to your Claude Code skills
git clone https://github.com/aerovato/containerGuides for using cli tools skills like container.
Last scanned: 6/1/2026
{
"issues": [
{
"type": "npm-audit",
"message": "brace-expansion: brace-expansion: Large numeric range defeats documented `max` DoS protection",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-06-01T09:27:16.201Z",
"npmAuditRan": true,
"pipAuditRan": true
}container: Isolated Docker environments for your autonomous coding harnesses.container is available as an NPM package. Install with:
npm uninstall -g code-container # Uninstall V2 if present
npm install -g @aerovato/container # Install container V3
Run container init (interactive onboarding). It will:
Accept the prompt to build the image (first build can take 5+ minutes).
You're done. container is ready to use.
Try Nitro, a simple and efficient Bash harness. 11x cheaper, 75x more efficient than Claude Code for simple Bash tasks.
npm install -g @aerovato/nitro
Navigate to any project and run container:
cd /path/to/your/project
container
Inside the container: Start your harness and develop like normal.
opencode # Start OpenCode
npm install <package> # Persists per container
# ...
Your project is mounted at /root/<project-name>. Changes persist across sessions. Harness configs are shared across all containers.
You may want to periodically rebuild the image to update harnesses and packages:
container build # Trigger full rebuild
container build harness # Rebuild harnesses and user packages
container build user # Rebuild user packages
container # Enter container for current directory
container run /path/to/project # Enter for a specific project
container run /path -- -p 8080:80 # Pass extra runtime flags
container list # List all containers
container stop # Stop container
container remove # Remove container
container init # Re-run onboarding
Customization is done through two places:
~/.code-container/Dockerfile.UserAdd packages and setup steps here. Example:
FROM localhost/aerovato/container-v3-harness:latest
RUN npm install -g bun typescript
RUN pip install requests
RUN npx opencode plugin opencode-quotes-plugin -g
After editing, run container build user to rebuild the image
~/.code-container/settings.jsonPrimary configuration file. See docs/Settings.md for more details.
Common settings:
enabledHarnesses — which harnesses to installruntime — "docker" or "podman"dockerfileCore — advanced control over the base imagesystemMounts — gitconfig and SSH mountsdockerRunFlags / dockerExecFlags — extra runtime flagsHint: Clone this repo and ask your agent to configure for you.
After upgrading to V3, all configurations will be archived to ~/.code-container/archive. To migrate configurations over, ask your agent to read and perform the steps in docs/Migration.md.
container protects your host filesystem from rm -rfsImportant limitations:
container does not protect against prompt injection or agent misalignmentnpm uninstall -g @aerovato/container
rm -rf ~/.code-container
Consider backing up the harness configurations in ~/.code-container/configs before removing.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars