Mike Andrew Mike Andrew - 15 days ago 5
Node.js Question

Confused about docker pricing policy

I am going to develop a web application using nodejs from scratch. I am familiar with vagrant but want to use docker. I am confused about few things to start with docker.


  1. Can I use docker for free? Do I need to pay for docker data center/cloud or are those required?

  2. Do I need vagrant for virtualization

  3. For automatic build does docker support free automatic build.

  4. When should I use docker? At the very start of development or just before first deployment.



Thanks for your answer.

Answer

Disclaimer : This answer is correct as per Nov 2016.

  1. Yes you can use it for free. But some people use the paid one because they want a private docker hub, or they prefer it in their own premise.
  2. No. but using Vagrant makes it easier for you to follow the tutorial
  3. [UPDATED] Yes. Dockerhub introduced automatic build. Never use it though. In my workflow, I use jenkins to build my dockerfile. You can follow this sample workflow (using jenkins ) from docker.
  4. Just start it when you are starting your development. Anyway one of the benefit of docker is that you able to eliminate issue where it is working in dev environment but not in the production environment.