ubuntu/node

Verified Publisher

By Canonical

Updated 10 months ago

Ubuntu-based Node.js image for server-side and networking applications.

Image
Languages & frameworks
5

10K+

ubuntu/node repository overview

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.

[Learn more about Nodejs]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
18.19.1-24.04_edge-18.19.124.04amd64
View deprecated tags
TagsSupport ended onUpgrade Path
18-24.04_edge09/2025 -

Get started

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.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/node:18-24.04_edge plan
For an older version that is not a rock

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
Run

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.

Get logs

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>
For an older version that is not a rock

To view the logs of the running container, run:

docker logs node-container
Monitor health checks

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

[Report a bug]

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.

Tag summary

Content type

Image

Digest

sha256:869c2347d

Size

41.7 MB

Last updated

10 months ago

docker pull ubuntu/node:18-24.04_edge

This week's pulls

Pulls:

320

Last week