node
NodeJS is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
See nodejs.org for more information
This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.
License
View license information
here
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Versions
Use the pull string below for the version of this image you require.
16 |
docker pull icr.io/ibmz/node@sha256:e7886edc11c2bcd746d587cd170ad335d6ec451addc646e18a9873ac6b52da78 |
Vulnerability Report | 10-04-2024 | 18.2.0-bullseye |
docker pull icr.io/ibmz/node@sha256:b083a851a3083ab8f451a36b67c06994e9a1fdc67180df44b45fd802fb47e4a9 |
Vulnerability Report | 10-04-2024 | 17 |
docker pull icr.io/ibmz/node@sha256:9b7cf6af00293c462a06e19451416eff60285b0e5b206d27f9865aa14ac66728 |
Vulnerability Report | 10-04-2024 |
Version |
Pull String |
Security (IBM Cloud) |
Created |
Usage Notes
Create a Dockerfile in your Node.js app project:
FROM icr.io/ibmz/node:[version]
COPY . /home/node/app
WORKDIR /home/node/app
RUN npm install
EXPOSE # Put the port that your app listens on here.
CMD [ "npm", "start" ]
You can then build and run the Docker image:
docker build -t my-nodejs-app .
docker run -it --rm --name my-running-app my-nodejs-app
Docker run:
If you run the node image using docker run you can use the
-e
flag to override
NPM_CONFIG_LOGLEVEL
.
docker run -e NPM_CONFIG_LOGLEVEL=info icr.io/ibmz/node:[version] ...
NPM run:
If you are running npm commands you can use
--loglevel
to control the verbosity of the output.
docker run icr.io/ibmz/node:14.14.0 npm --loglevel=warn ...