Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 devcontainer

查看 devcontainer 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install devcontainer

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#devcontainer

nixpkgs package indexes · pkgs/by-name/de/devcontainer/package.nix · 来源: api.github.com

概览

软件包摘要

Reference implementation for the Development Containers specification

命令和别名

  • devcontainer

历史

项目历史与用法

Dev Container CLI is the reference command-line implementation for the Development Containers specification. It reads devcontainer.json metadata and creates, builds, configures, and runs development containers outside a single editor UI.

项目历史

The devcontainers/spec repository was created in January 2022, and devcontainers/cli followed in April 2022. The CLI changelog starts with 0.1.0 as the initial version and then quickly adds build, feature, template, metadata, and lifecycle support through the 2022 releases.

采用历史

The broader dev container format came from the need for structured metadata that tools could share, similar in spirit to the Language Server Protocol. The official supporting-tools page lists editors and services such as VS Code, Visual Studio, IntelliJ IDEA, GitHub Codespaces, and the standalone Dev Container CLI as participants in the ecosystem.

使用方式

Package users install the devcontainer executable, keep devcontainer.json in a project, and run commands such as devcontainer up, build, exec, read-configuration, features, and templates. The CLI README also frames it as useful for CI, where a project's development container can be reused as a build and test environment.

为什么软件包爱好者会关心

For package nerds, devcontainer is important because it turns editor-oriented development-environment metadata into a portable CLI contract. It bridges package managers, Docker or Podman-style container engines, OCI-distributed features, templates, GitHub Actions, Codespaces, and local development workflows.

时间线

  • 2022: devcontainers/spec repository created.
  • 2022: devcontainers/cli repository created.
  • 2022: CLI 0.1.0 initial version appears in the changelog.
  • 2022: CLI 0.12.0 added native feature publishing to OCI registries.
  • 2026: CLI 0.87.0 made lockfile generation stable by default.

Related projects

  • Officially related projects include the Development Containers specification, Dev Container Features and Templates, devcontainers/ci, VS Code Dev Containers, GitHub Codespaces, Docker, Docker Compose, and supporting IDE integrations.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:container

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.devcontainer/devcontainer.json.devcontainer.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
devcontainercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-09
管理器版本0.87.0
管理器更新时间2026-05-13
本地数据OK
上游not checked
检测到的最新版本未检测到

https://containers.dev

安装元数据

软件包元数据

软件包键brew:devcontainer
版本0.87.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/devcontainer
主页https://containers.dev
仓库https://github.com/devcontainers/cli
上游文档https://containers.dev/
许可证MIT
源码归档https://registry.npmjs.org/@devcontainers/cli/-/cli-0.87.0.tgz
最后更新2026-05-13T13:00:10Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedevcontainer
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

devcontainer

nix profile install nixpkgs#devcontainer
  • normalized package name match
  • 匹配方式:Devcontainer
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/devcontainer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment