talira

Dev Container CLI

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

open sourceMITself-hostablefree

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.

Ways to install

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 toolplan not known

Alternatives

The same job

These do what Dev Container CLI does.

  1. Visual Studio Code Remote Development Open any folder in a container, on a remote machine or in WSL with VS Code
  2. devenv Declarative, reproducible developer environments using Nix
  3. Devbox Instant, easy, and predictable development environments
  4. Flox The software environment platform: one manifest, every environment, from laptop to production.

Compare Dev Container CLI with the top 3