This is the Docker Nano image for Node.js v6.9.2 with npm v3.10.9 support.
nano/node.jsTry one of the following.
docker run -it nano/node.js – launch interactive command prompt.docker run --rm nano/node.js node -e 'console.log("Hello, World!")'FROM nano/node.js to your Dockerfile.npm cannot build native modules (written in C) – only JavaScript extensions can be installed in the container. If you want to build native extensions add them to the image using Buildroot instead.
docker pull nano/node.js:6.9