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.
18.2.0-bullseye docker pull icr.io/ibmz/node@sha256:f134a08765488dd25da47c6b75baf14c75dcef7fe33316eb8c5ded96caea2d40 Vulnerability Report04-30-2024
16 docker pull icr.io/ibmz/node@sha256:6bc444c4c7faed4c7524bad3e0e7a69c33bd6207754c28bd2be46eec0af2fad6 Vulnerability Report04-30-2024
17 docker pull icr.io/ibmz/node@sha256:15ed34b8348875a52735d50b1f01cc7d929fc6d54c6a8a41e0543413155d5062 Vulnerability Report04-30-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 ...