You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regarding "How to use": Wouldn't a hello-world.json script make sense? #1059
Thinking about examples like Apache. Usually you can test if your ports, networking etc are set up correctly by simply running the default and looking if something comes up in the browser. If the script is already set up to run a single script in a one-liner, wouldn't it also make sense to provide a simple script that simply prints <h1>Hello World</h1>.
I suggest adding the following to How to use this image, which is a simple out-of-the-box way to confirm an image is working:
docker run --rm node:lts node -e "console.log('Hello World! You are using Node.js ' + process.versions.node)"
results in:
$ docker run --rm node:lts node -e "console.log('Hello World! You are using Node.js ' + process.versions.node)"
Hello World! You are using Node.js 24.15.0
Activity
MikeMcC399 commentedon May 21, 2026
I suggest adding the following to How to use this image, which is a simple out-of-the-box way to confirm an image is working:
docker run --rm node:lts node -e "console.log('Hello World! You are using Node.js ' + process.versions.node)"results in: