node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

it-works-docker-node-sandbox

it-works-docker-node-sandbox

A vagrant node sandbox with prebuilt docker images

Install

vagrant up

Run

ssh to vagrant vm

$ vagrant ssh                      

node v0.10.26

run bash in docker vm

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

node v0.11.9

run bash in docker vm

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