Skip to content
Evergreen Evergreen
Documentation

Node.js image release lines 21 and older are end-of-life

End of life as of 2026-04-30. Replacement: A node image on a supported release line, such as node:22. Source: Node.js end-of-life releases.

Check a version:

evergreen check pkg:docker/library/node

These Node.js release lines no longer receive security or bug fixes, so images tagged with them are built on an unsupported runtime.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem container
Component pkg:docker/library/node
Affected versions vers:semver/<22.0.0
Date from the source 2026-04-30
Replacement A node image on a supported release line, such as node:22
Evidence last seen 2026-10-16
Reviewed 2026-10-16 by arminazimi, drafted by the container-official-images importer
Review due 2027-10-16 (365 days after the last review)
Rule ID container.node.eol-21-and-older

Sources

Migration

Constraints

  • Keep the Dockerfile base image, Compose image, CI service containers, and the engines field in package.json on one supported Node.js release line.
  • Confirm native modules and production dependencies support the target Node.js major.

Steps

  1. Update the base image. Change the reported FROM line or Compose image to a tag on a supported release line, and pin it to a digest if your policy requires.
  2. Align other image references. Update other Dockerfiles, Compose files, CI service containers, and deployment manifests that use the same image so they agree.

Verification

  • docker build .: Build the image on the new base.
  • docker run --rm IMAGE node --version: Confirm the container runs the intended Node.js version.

Detected by

The container detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/container.json, rule container.node.eol-21-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated