Docker


Prepare docker container for node.js / js development:

Prepare docker container for node.js / js development


Docker installation:

Docker installation on Ubuntu 14.04


Run Docker Container:

Run Docker Container (with node.js) in Linux

Run Docker Container (with node.js) in Windows 10


Most Important Docker Commands After Container Has Been Created

// show running containers
$ docker ps

// show all containers
$ docker ps -a

$ docker start <container_name>
$ docker attach <container_name>

// connect to docker container by additional terminal
$ docker exec -it <container_name> bash

// detach from container without stopping
CTRL + P + Q


Some examples

A sample todo app with React and Flux in ES2015 (ES6) served by Hapi
https://github.com/tribou/react-todo