it-works-docker-node-sandbox

A vagrant node sandbox with prebuilt docker images

it-works-docker-node-sandbox

A vagrant node sandbox with prebuilt docker images

vagrant up

ssh to vagrant vm

$ vagrant ssh                      

run bash in docker vm

vagrant@ubuntu-12:~$ docker run -i -t ontouchstart/node-0.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 ontouchstart/node-0.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' }