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?

  • Find out to which removed docker container a volume belonged to
  • use nvidia-docker from docker-compose
  • Using Gitlab CD and Docker
  • How to get docker container ID within Docker?
  • Docker build with -f option cannot find Dockerfile
  • Access cephfs inside docker without mounting cephfs on host
  • Can you have a docker copy in the same line as docker run
  • Running Spring Boot Microservices using Docker and AWS ECS
  • docker exec command not executing in sh file
  • Terraform unable to get docker to join swarm
  • How to start docker container in memory?
  • Why would I need Docker for nodejs?
  • 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.