Skip to content

FAQ

Quick answers to common questions. See also Troubleshooting if you’re stuck.

A tool that creates isolated development environments using Docker containers (called “islands”). Code stays on host, tools run in the island.

Linux (Debian, Ubuntu, Fedora, Arch, Alpine, and more), macOS, and Windows. See Installation.

On host: ~/coderaft/<project>/. Inside island: /island/.

No, but Docker requires membership in the docker group. Inside islands, commands run as root by default for setup convenience.

  • Global: ~/.coderaft/config.json
  • Project: coderaft.json in your workspace
  • Secrets: ~/.coderaft/secrets.vault.json (encrypted)
Terminal window
coderaft init <project> [--template python|nodejs|go|web]
Terminal window
coderaft shell <project>
Terminal window
coderaft run <project> "<command>"

Add to coderaft.json:

{ "ports": ["3000:3000", "8000:8000"] }
Terminal window
coderaft ports [project]

Shows all exposed ports with clickable URLs and auto-detected service names.

Terminal window
coderaft secrets init # One-time setup
coderaft secrets set <project> API_KEY
coderaft secrets import <project> .env

Secrets are stored encrypted (AES-256) and can be exported for use.

Commit coderaft.json. Teammates run coderaft up.

Use --keep-running or set "restart": "unless-stopped" in config.

Terminal window
coderaft list
Terminal window
coderaft destroy <project>

Files remain on host unless manually deleted.

Terminal window
coderaft update [project]

Yes. Installs from 30+ package managers (apt, pip, npm, cargo, go, gem, brew, conda, etc.) are logged to /island/coderaft.history. Downloads via wget/curl and make install are also tracked. These commands are replayed on rebuild.

{ "resources": { "cpus": "2", "memory": "4g" } }

Set CODERAFT_ENGINE=podman.

Terminal window
coderaft up --dotfiles ~/.dotfiles

Or add "dotfiles": ["~/.dotfiles"] to config.