Ubuntu-based Node.js image for server-side and networking applications.
10K+
ubuntu/node is a rock for Nodejs maintained by Canonical.
Node.js is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts. This image is a chiselled Node.js rock that only contains the Node.js runtime.
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures |
|---|---|---|---|---|
18.19.1-24.04_edge | - | 18.19.1 | 24.04 | amd64 |
| Tags | Support ended on | Upgrade Path |
|---|---|---|
18-24.04_edge | 09/2025 | - |
This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/node:18-24.04_edge plan
The container spins up with the default entrypoint. To inspect the entrypoint and command:
docker inspect --format='{{.Config.Entrypoint}} {{.Config.Cmd}}' ubuntu/node:18-24.04_edge
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name node-container \
--rm \
ubuntu/node:18-24.04_edge \
--version
The container prints the Node.js version to STDOUT and exits.
To view the logs of the running container, run:
docker exec node-container pebble logs
Or, for a specific service:
docker exec node-container pebble logs <service>
To view the logs of the running container, run:
docker logs node-container
Rocks may have predefined health checks that you can list by running:
docker exec node-container pebble checks
The overall health of your container can be inspected via:
docker exec node-container pebble health
Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.
Content type
Image
Digest
sha256:869c2347d…
Size
41.7 MB
Last updated
10 months ago
docker pull ubuntu/node:18-24.04_edgePulls:
320
Last week