openeuler/npmThe official npm docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current npm docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
npm is the world's largest software registry. Open source developers from every continent use npm to share and borrow packages, and many organizations use npm to manage private development as well.
Learn more about npm on npm Website.
The tag of each npm docker image is consist of the version of npm and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 11.8.0-oe2403sp3 | npm 11.8.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 11.6.4-oe2403sp2 | npm 11.6.4 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 11.6.3-oe2403sp2 | npm 11.6.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 11.6.2-oe2403sp2 | npm 11.6.2 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 11.4.2-oe2403sp1 | npm 11.4.2 on openEuler 24.03-LTS-SP1 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/npm image from docker
bashdocker pull openeuler/npm:{Tag}
Run with an interactive shell
You can also start the container with an interactive shell to use npm.
docker run -it --rm openeuler/npm:{Tag} bash
Using npm CLI
To install the latest version of a module from the npm registry.
npm install <package_name>
Example:
npm install sax
Key features:
@latest) defaults to installing the latest stable version.latest in the registry.[!WARNING] Do not run
npm installin root directory (/). This will cause dependency resolution errors.
View all available commands:
Refer to the complete npm CLI documentation
npm help
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务