devcontainer-0.1.0 is not a library.
dev
A devcontainer management CLI built in Rust. Create, build, run, and manage devcontainers from the terminal — no VS Code required.
Features
- Multiple container runtimes — Docker, Podman, and Apple Containers (macOS native via XPC)
- Template system — scaffold
.devcontainer/configs from the devcontainer template registry or saved global templates - Feature support — browse, install, and manage devcontainer features with OCI registry integration
- BuildKit support — optional BuildKit-optimized image builds
- Layered configuration — base config, global templates, and per-workspace overrides
- VS Code integration — open running containers in VS Code or VS Code Insiders
Installation
Or from source:
Usage
# Scaffold a minimal .devcontainer/ in the current directory
# Create from a template (interactive picker or by ID)
# Build the devcontainer image
# Start the container
# Run a command or open a shell
# Stop or remove
# Open in VS Code
# Check container state
# Browse templates and features
# Edit devcontainer config properties
# Manage global templates
# Manage base config (applied to all containers)
Global flags
| Flag | Description |
|---|---|
--workspace <path> |
Override workspace directory (default: .) |
--runtime <runtime> |
Override container runtime (docker, podman, apple) |
-v, -vv, -vvv |
Increase verbosity |
Building from source
The binary will be at target/release/dev.
Note: The apple-container crate (Apple Containers runtime) is only compiled on macOS.
License
See LICENSE.