Persistent, isolated workspaces for AI coding agents.
container gives each project its own Docker or Podman environment. Agents can install dependencies, configure tools, and modify their environment without polluting your base system or interfering with other projects.
Isolation also makes hands-off agent workflows more practical by limiting destructive operations to the project workspace and explicitly mounted resources.
- Windows, macOS, or Linux
- Docker or Podman
macOS and Linux:
curl -fsSL https://container.aerovato.com/install.sh | shWindows PowerShell:
irm https://container.aerovato.com/install.ps1 | iexAlternatively, install through npm:
npm install -g @aerovato/containerRun the guided onboarding flow:
container initChoose your coding harnesses, development tools, runtime, and mounts, then accept the initial image build.
Navigate to a project and start its workspace:
cd /path/to/project
containerYour project is mounted at /root/<project-name>. The container and anything installed inside it persist between sessions.
Start your preferred coding agent and work normally:
opencode
npm install <package>Want an agent to configure Container for you? Install the portable Container skill on the host, then ask your agent to set up packages, harnesses, tools, mounts, permissions, or migrations.
npx skills add aerovato/container --skill container
npx skills add aerovato/container --skill container --global # All projectsThe skill is host-side because agents inside managed containers cannot access Container's host configuration.
container # Open the current project's workspace
container run /path/to/project # Open a specific project
container run /path -- -p 8080:80 # Pass runtime flags
container list # List managed containers
container stop # Stop the current workspace
container remove # Remove the current workspace
container settings # Change common settings
container init # Re-run onboardingRebuild the shared image when updating tools or customizations:
container build
container build tools
container build harness
container build userAdd packages and setup commands to:
~/.code-container/Dockerfile.User
Then rebuild the user layer:
container build userHarnesses, tools, runtime flags, mounts, and base-image settings are configured through ~/.code-container/settings.json.
See Configuration for settings details and Permissions for hands-off harness permissions.
container limits what an agent can access, but it does not make the agent trusted.
The current project is mounted read-write and can be changed or deleted. Enabled configurations and optional credentials may also be available inside the container. Containers retain network access, and container does not protect against prompt injection or agent misalignment.
Keep important work under version control and only mount resources the agent needs.
