# 使用 npm 安装 is-docker

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

## 安装

```sh
sudo av install npm:is-docker
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g is-docker
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:is-docker
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/is-docker>
- **版本:** 4.0.0
- **来源摘要:** Check if the process is running inside a Docker container
- **主页:** <https://github.com/sindresorhus/is-docker#readme>
- **仓库:** <https://github.com/sindresorhus/is-docker>
- **上游文档:** <https://github.com/sindresorhus/is-docker#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/is-docker/-/is-docker-4.0.0.tgz>
- **问题跟踪器:** <https://github.com/sindresorhus/is-docker/issues>
- **发布时间:** 2025-09-15T21:04:08.390Z
- **最后更新:** 2025-09-15T21:04:08.390Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- is-docker (cli)
- is-docker (别名)

## 构建依赖

- esmock
- xo

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.0.0
- 管理器更新时间: 2025-09-15
- 本地数据: OK
- 上游仓库: https://github.com/sindresorhus/is-docker
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 is-docker 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0
- **Version Count:** 10
- **Maintainers:** sindresorhus
- **Author:** Sindre Sorhus
- **Publisher:** sindresorhus
- **Engines:** Node: >=20
- **Funding:** <https://github.com/sponsors/sindresorhus>
- **Integrity:** sha512-LHE+wROyG/Y/0ZnbktRCoTix2c1RhgWaZraMZ8o1Q7zCh0VSrICJQO5oqIIISrcSBtrXv0o233w1IYwsWCjTzA==
- **Shasum:** 6aab87c77a30ddff39c460af372ee1795aee7848
- **Unpacked Size:** 3,481
- **File Count:** 0
- **Created At:** 2015-04-08T07:09:24.685Z
- **Latest Published At:** 2025-09-15T21:04:08.390Z
- **Modified At:** 2025-09-15T21:04:08.571Z


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [is-inside-container](https://www.automicvault.com/zh-hans/pkg/npm/is-inside-container/) - Package names and metadata indicate a similar tool family. Shared terms: check, container, detect, docker, dockerized.
- [is-podman](https://www.automicvault.com/zh-hans/pkg/npm/is-podman/) - Package names and metadata indicate a similar tool family. Shared terms: check, container, detect, env, environment.
- [is-in-ci](https://www.automicvault.com/zh-hans/pkg/npm/is-in-ci/) - Package names and metadata indicate a similar tool family. Shared terms: check, detect, environment, if, is.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
