Return to Image List

node

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.
17 docker pull icr.io/ibmz/node@sha256:ae40ed4bc8764ec083d6f3cbf610a718ba410b2cc1d9d0f00a5aae84ae55008f Vulnerability Report01-02-2025
18.2.0-bullseye docker pull icr.io/ibmz/node@sha256:980fe877c1f0681e621f953b6d503f59956c82fc0d02b48cc2234f9f379f9f76 Vulnerability Report01-02-2025
16 docker pull icr.io/ibmz/node@sha256:50ff6f19def872d54f5d5d60c75c3af0e9d303dd2450dd6c68b11f8f3c5fa14b Vulnerability Report01-02-2025
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 ...