Skip to main content
Version: 6.0.0

Docker

Nodesource provides N|solid Docker images based on both Alpine and Ubuntu, supporting the LTS versions hydrogen(Node.js 18) and iron(Node.js 20). These images are available on Docker Hub.

Docker Images

Alpine-based Image

nodesource/nsolid:alpine-latest

Ubuntu-based Image

nodesource/nsolid:latest

Using N|solid Docker Images

Pulling the images

The default image is Ubuntu-based

docker pull nodesource/nsolid:latest

Connecting to N|SOLID UI

If you need to connect the containerized process to N|SOLID UI, you must set the NSOLID_SAAS environment variable. Here's an example of how to do this:

important

Use a vault to store your secrets.

Examples

Command line

docker run -it -e NSOLID_SAAS=${NSOLID_TOKEN} nodesource/nsolid:iron-latest

Docker compose

services:
nsolid:
image: nodesource/nsolid:latest
restart: always
environment:
- NSOLID_SAAS=NSOLID_TOKEN
command: "