jail-cli

Crates.iojail-cli
lib.rsjail-cli
version0.1.0
created_at2026-01-12 13:25:14.817005+00
updated_at2026-01-12 13:25:14.817005+00
descriptionSandboxed dev environments via containers
homepage
repository
max_upload_size
id2037713
size63,352
soham (zemse)

documentation

README

jail

Sandboxed dev environments via containers.

Install

cargo install jail-cli

Requires Podman or Docker.

Usage

# Clone an untrusted repo into an isolated container
jail clone https://github.com/suspicious/malicious-repo

# Expose ports for dev servers (macOS)
jail enter -p 3000 -p 5173

# Create empty container
jail create myproject

# Open VSCode attached to the container
jail code myproject

# List and remove jails
jail ls
jail rm

How it works

  • Each jail runs in its own container with a minimal dev environment (Ubuntu + common tools)
  • Only the project directory is mounted - no access to host filesystem, credentials, or other projects
  • Container is stopped when you exit the shell

License

MIT

Commit count: 0

cargo fmt