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:8dc3a44a0c4326910ee68048585f460a7e10b2cb5eaded6f4aafb3a1d4a19c96 |
Vulnerability Report | 11-22-2024 | 18.2.0-bullseye |
docker pull icr.io/ibmz/node@sha256:76e97b3ddb9864475f7a50561bd886f4a270794df17fc70ff57ced4f77ffc0cb |
Vulnerability Report | 11-22-2024 | 17 |
docker pull icr.io/ibmz/node@sha256:1324ad992bb017ce5556ed85e20cc99bd3ce6ad417385eff51ea432883b9d43f |
Vulnerability Report | 11-22-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 ...