4 A nodejs template for lxc (linux containers) for running nodejs apps within a confined space.
6 Inside the virtualised container, there is only two binaries - nodejs and "ip", everything else is a nodejs
9 Startup (init) is handle by a nodejs script that sets the ip address/route/dns info based on a config file
11 Apps are then put into the container by adding them to the /node_base directory, the init script will then
12 read the /node_base/appconfig file to determine which app's it needs to start (and keep running) inside the
19 The nodejs template currently doesnt work as it stands but in the long term what it will do is:
21 1) create a container by downloading a nodejs binary from the nodejs site (or from a supplied file)
22 2) install the "ip" command (for interface/route setup)
23 3) setup the base structure for the container
24 4) install the node binary
25 5) setup the init nodejs script