# Dev Container CLI

> A reference implementation for the specification that can create and configure a dev container from a devcontainer.json.

Source: https://talira.ai/catalog/dev-container-cli-91w7wcbm
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / environment / reproducible envs](https://talira.ai/categories/developer-tools/environment/reproducible-envs), [developer tools / environment / containers](https://talira.ai/categories/developer-tools/environment/containers)
- Platforms: macos, linux, windows, docker, cli
- Licence: MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes

The Dev Container CLI builds and runs development containers from a devcontainer.json, the open spec also used by editors and hosted dev environments. It can prebuild images, start containers with settings applied, run lifecycle commands, exec into the container, and author and test dev container Features and Templates, with lockfiles pinning feature versions.

## Links

- Website: https://containers.dev
- GitHub: https://github.com/devcontainers/cli
- Docs: https://containers.dev

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/devcontainer>[^1]

## Problems it solves

- run our devcontainer.json in CI without VS Code
- everyone's dev setup should be a container defined in the repo
- prebuild our dev environment image so it starts fast
- a coding agent needs the same containerized environment as the team
- pin dev container feature versions for reproducible builds
- start a dev container from the command line and exec into it
- share reusable setup snippets across dev containers
- keep project tools off my host machine

## Features

- build/prebuild
- up
- exec
- run-user-commands
- features and templates tooling
- lockfiles

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.80, adoption 0.70, momentum 0.53, community 0.71, backing 0.00, extensibility 0.20.

- last commit 12 days ago
- 30 commits in the last 90 days
- 3.0k GitHub stars
- 58 contributors

## Alternatives

- [Visual Studio Code Remote Development](https://talira.ai/catalog/visual-studio-code-remote-development-xxeh6shm.md): Open any folder in a container, on a remote machine or in WSL with VS Code
- [devenv](https://talira.ai/catalog/devenv-zh8v4g3n.md): Declarative, reproducible developer environments using Nix
- [Devbox](https://talira.ai/catalog/devbox-sfmcr3v4.md): Instant, easy, and predictable development environments
- [Flox](https://talira.ai/catalog/flox-e1kwdrge.md): The software environment platform: one manifest, every environment, from laptop to production.

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
