
该项目(https://github.com/infra-helpers/docker-images-nodejs)%E7%94%9F%E6%88%90%E6%89%98%E7%AE%A1%E5%9C%A8https://hub.docker.com/repository/docker/infrahelpers/node%E7%9A%84Docker%E9%95%9C%E5%83%8F%EF%BC%8C%E6%97%A8%E5%9C%A8%E6%8F%90%E4%BE%9B%E5%9F%BA%E4%BA%8ENodeJS%E5%B7%A5%E5%85%B7%E7%9A%84Linux%E5%8D%B3%E7%94%A8%E5%9E%8B%E8%BD%AF%E4%BB%B6%E5%B7%A5%E7%A8%8B%E7%8E%AF%E5%A2%83%E3%80%82%E7%9B%AE%E5%89%8D%E4%BB%85%E6%94%AF%E6%8C%81Ubuntu 20.04 LTS (Focal Fossal)作为基础镜像,因其广泛使用且是https://github.com/nodesource/distributions%E7%AD%89%E5%B7%A5%E5%85%B7%E7%9A%84%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83%E3%80%82
每当https://github.com/infra-helpers/docker-images-nodejs%E6%9C%89%E4%BB%A3%E7%A0%81%E6%8F%90%E4%BA%A4%E6%97%B6%EF%BC%8Chttps://hub.docker.com/repository/docker/infrahelpers/node/timeline%E5%B9%B6%E6%8E%A8%E9%80%81%E5%88%B0Docker Hub/Cloud。若需添加对其他开发者有用的组件,可通过https://github.com/infra-helpers/docker-images-nodejs/pulls%E4%BF%AE%E6%94%B9Dockerfile%EF%BC%8C%E5%90%88%E5%B9%B6%E5%90%8EDocker Hub/Cloud将自动重建镜像供所有人使用。
bash$ docker pull infrahelpers/node $ docker run --rm -v ~/tmp/collections:/tmp/collections -it infrahelpers/node bash [build@5..0 dev]$
在容器中执行Newman命令运行集合:
bash[build@5..0 dev]$ newman run /tmp/collections/some-collection.json --reporters cli,csv,json --reporter-csv-export newman/some-report.csv --reporter-json-export newman/some-report.json
可通过以下步骤自定义镜像并推送到Docker Hub/Cloud:
bash$ mkdir -p ~/dev/infra $ cd ~/dev/showcase $ git clone https://github.com/infra-helpers/docker-images-nodejs.git docker-images-nodejs $ cd docker-images-nodejs $ vi ubuntu2004/Dockerfile # 编辑Dockerfile添加自定义内容 $ docker build -t infrahelpers/node ubuntu2004/ # 构建镜像 $ docker run --rm -v ~/tmp/collections:/tmp/collections -it infrahelpers/node bash # 测试镜像 [build@9..d]$ exit # 退出测试容器 $ docker push infrahelpers/node # 推送自定义镜像到Docker Hub
如需以下功能,可在https://github.com/infra-helpers/docker-images-nodejs/issues%E6%8F%90%E4%BA%A4issue%EF%BC%9A
以下是 infrahelpers/node 相关的常用 Docker 镜像,适用于 Web 开发、API 服务、实时应用 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务