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?

  • Implications of exposing /var/lib/docker over NFS to serve hosts with limited memory
  • Docker error on Windows 2016 “Client.Timeout exceeded while awaiting headers”
  • Docker-compose corrupted directory when shared a multiple file/directory in the same mounting point
  • Jenkins: running build does not provision docker slave
  • Cannot call chown inside Docker container (Docker for Windows)
  • send keys to terminal
  • /etc/hosts file of a docker container gets overwritten
  • Cannot install docker pkg dependency in Go
  • MYSQLI Connection refused when connecting to another docker container running MariaDB
  • Accessing enviroment variables from a linked container
  • Slow performance on Docker Containers as a Compile and Run Sandbox
  • Setting the hostname for a container running in Kubernetes
  • 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.