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:f31e13bc7523160018ad864388a9a7efb2bbf5d30d56823872de1c969e634365 |
Vulnerability Report | 10-29-2024 | 16 |
docker pull icr.io/ibmz/node@sha256:ea52318675fc9668baed690be0eaa7bfb8751cb2bd997056927e838a0c66f6e4 |
Vulnerability Report | 10-29-2024 | 17 |
docker pull icr.io/ibmz/node@sha256:d62ccf7a96a5d8f3fa302837416591c46ad9268867c6bc89d18ffe6b33e2d9f3 |
Vulnerability Report | 10-29-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 ...