it-works-node-sandbox

A vagrant/docker vm sandbox with node installed from source

it-works-node-sandbox

A vagrant/docker vm sandbox with node installed from source

vagrant up

ssh to vagrant vm

$ vagrant ssh                      

run bash in docker vm

vagrant@ubuntu-12:~$ docker run -i -t node:v0.10.26 /bin/bash

start node

root@838c626e4a40:/# node

run code in node REPL

> process.versions
{ http_parser: '1.0',
  node: '0.10.26',
  v8: '3.14.5.9',
  ares: '1.9.0-DEV',
  uv: '0.10.25',
  zlib: '1.2.3',
  modules: '11',
  openssl: '1.0.1e' }

run bash in docker vm

vagrant@ubuntu-12:~$ docker run -i -t node:v0.11.9 /bin/bash

start node

root@0bfbb4e8bf5e:/# node

run code in node REPL

> process.versions
{ http_parser: '1.0',
  node: '0.11.9',
  v8: '3.22.24.5',
  uv: '0.11.15',
  zlib: '1.2.3',
  modules: '13',
  openssl: '1.0.1e' }

It will take a loooong time to compile node in the vagrant/docker vm on a slow machine.