using docker for quick switching iojs version

Can be Docker used for “dockerizing” iojs or nodejs (for, for example, quick switching between them)?

And, for dockerizing any app it’s not necessary to use an image of whole OS (ubuntu), right?

  • sh script unable to get executed in New Empty Docker Container
  • Logging from Docker
  • Docker with Django/PostgreSQL
  • spring cloud hystrix turbine amqp connection refused with docker
  • Docker creates files as root in mounted volume [duplicate]
  • how to run kafka from docker landoop image
  • How to use data in a docker container?
  • Docker failing to load apparmor profile upon ubuntu host boot
  • babel-watch doesn't work from docker container on windows host when mounting a host directory as a network share
  • How do I install os specific packages inside docker?
  • Minimize docker container size built with nix
  • mount root FS read only with docker-compose
  • One Solution collect form web for “using docker for quick switching iojs version”

    Can be Docker used for “dockerizing” iojs or nodejs (for, for example, quick switching between them)?

    Sure, as illustrated by the article “Up and running with io.js and Docker”, based on the iojs image.

    And, for dockerizing any app it’s not necessary using image of whole OS (ubuntu), right?

    Only if your app relies on an OS filesystem instead of relying (through static linking) on the Linux host kernel

    For example, an application compiled in Go (golang.org) can run in an empty container (the scratch container, see “Building Minimal Docker Containers for Go Applications”)

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.