Traditional Virtual Machines vs Docker

Traditionally, each individual task (Ex – mailing, Web hosting, database etc) of an enterprise, used to run on individual dedicated servers. It used to be like – 1 server, 1 operating system, 1 task – even if these components were not using the full capacity of the given server/machine on which they were running.

With virtualization technologies hitting the ground, it was possible to use software to create an abstraction layer over computer hardware that allowed the hardware elements of a single computer like processors, memory, storage and more, to be divided into multiple virtual computers, which could then be used to host different enterprise tasks as discussed above. This resulted in better and efficient utilization of the computer resources.

Before starting to discuss about how virtualization is done, let’s understand that Operating systems have 2 basic layers-

  • Kernel layer: Responsible to communicate with the computer hardware – CPU, memory etc.
  • Applications layer: Run on top of kernel and provide wrappers like – File system, GUI etc.

Docker and Virtual Machines are 2 of the virtualization techniques and they virtualize different layers of OS as depicted below:

Virtual Machines:

  • They virtualize on kernel level i.e. they have their own OS – both Kernel and application.
  • This makes they bulky and difficult to move around. They have high boot up time as well.
  • But it allows to run different OS (windows, Linux etc) on the same machine.
  • Virtualization here is made possible by using hypervisors – an interface between the VM and the underlying physical hardware, ensuring that each has access to the physical resources it needs to execute. It also ensures that the VMs don’t interfere with each other by impinging on each other’s memory space or compute cycles.

Docker:

  • It virtualizes the application layer of the OS.
  • Docker sits on the host machine’s OS kernel and can host different docker machines, known as containers, which have application layer of their own but can communicate with the host OS kernel. (Linux OS, as instance, comes in different distributions – Ubuntu, Kubuntu, Alpine, Fedora etc. They have application layer of their own but are capable to communicate with the same Linux kernel.)
  • Since docker containers do not carry full fledged OS with they, they are lightweight and boot up very fast. 

High level differences between VM and Docker

134 thoughts on “Traditional Virtual Machines vs Docker”

  1. 토토사이트

    That is a very good tip especially to those fresh to the blogosphere. Brief but very precise information… Appreciate your sharing this one. A must read post.

  2. 검증사이트

    When I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive 4 emails with the exact same comment. Is there a way you can remove me from that service? Thank you.

  3. This is a topic that is close to my heart… Many thanks! Exactly where can I find the contact details for questions?

  4. Hi, I do think this is a great website. I stumbledupon it 😉 I’m going to return yet again since i have book marked it. Money and freedom is the best way to change, may you be rich and continue to guide others.

  5. After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve four emails with the exact same comment. There has to be an easy method you can remove me from that service? Many thanks.

  6. You could certainly see your skills in the work you write. The world hopes for more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart.

  7. Avrupa’nın en güvenilir medyum hocalarından medyum haluk yıldız hocamız siz değerli kardeşlerimize yardım eli uzatıyor.

  8. จีคลับ

    I like the helpful info you provide in your articles. I will bookmark your weblog and check again here regularly. I am quite sure I will learn a lot of new stuff right here! Good luck for the next!

  9. Hi there very cool web site!! Man .. Beautiful .. Amazing .. I will bookmark your website and take the feeds also?I am satisfied to search out so many helpful info here within the post, we’d like develop more strategies in this regard, thanks for sharing. . . . . .

  10. I’m typically to running a blog and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your site and hold checking for brand spanking new information.

  11. Greetings from Florida! I’m bored to death at work so I decided to
    browse your blog on my iphone during lunch break.
    I really like the knowledge you present here and can’t wait to take a look when I get home.
    I’m shocked at how quick your blog loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyhow, amazing site!

  12. raspberry pi 3

    It?s actually a nice and helpful piece of info. I?m glad that you shared this useful information with us. Please keep us informed like this. Thanks for sharing.

  13. Undeniably believe that which you stated. Your favorite justification appeared to be on the web the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they just do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will likely be back to get more. Thanks

  14. evernote planos

    That is the precise blog for anybody who desires to search out out about this topic. You understand a lot its virtually hard to argue with you (not that I actually would want?HaHa). You undoubtedly put a new spin on a topic thats been written about for years. Great stuff, simply nice!

  15. I like the helpful information you provide to your articles. I will bookmark your blog and take a look at once more here frequently. I’m reasonably certain I?ll be informed many new stuff proper right here! Good luck for the following!

  16. magnificent post, very informative. I wonder why the other experts of this sector do not notice this. You must continue your writing. I am sure, you have a huge readers’ base already!

  17. We’re a group of volunteers and opening a new scheme in our community. Your site provided us with valuable information to work on. You have done a formidable job and our entire community will be grateful to you.

  18. Thanks for posting. I really enjoyed reading it, especially because it addressed my problem. It helped me a lot and I hope it will help others too.

  19. Thank you for your post. I really enjoyed reading it, especially because it addressed my issue. It helped me a lot and I hope it will help others too.

  20. Thanks for posting. I really enjoyed reading it, especially because it addressed my issue. It helped me a lot and I hope it will help others too.

  21. Thank you for your post. I really enjoyed reading it, especially because it addressed my issue. It helped me a lot and I hope it will help others too.

  22. Thank you for posting this post. I found it extremely helpful because it explained what I was trying to say. I hope it can help others as well.

  23. You helped me a lot with this post. I love the subject and I hope you continue to write excellent articles like this.

  24. Thank you for your post. I really enjoyed reading it, especially because it addressed my issue. It helped me a lot and I hope it will help others too.

  25. I’ve been absent for a while, but now I remember why I used to love this blog. Thanks , I¦ll try and check back more often. How frequently you update your web site?

  26. It’s actually a nice and useful piece of info. I am satisfied that you
    shared this helpful information with us. Please keep us informed like
    this. Thank you for sharing.

  27. Thanks for sharing your thoughts. I truly appreciate your efforts and I will be waiting for
    your next write ups thanks once again.

  28. seputar Aplikasi

    Helⅼo!I could havee sworn I’ve been to tһis web
    site bеfore but acter goіng through mаny of
    the posts I гealized it’s new to me. Regardless, I’m definitely happy I came
    acroѕs it and I’ll bе book-marking it and checking back
    frequently!

  29. It’s going to be ending of mine day, however before ending I am reading this fantastic post
    to increase my experience.

  30. My brother suggested I may like this web site. He was totally
    right. This post actually made my day. You can not consider just how a lot time I
    had spent for this information! Thanks!

  31. Pretty section of content. I just stumbled upon your blog and in accession capital
    to claim that I get actually enjoyed account your weblog posts.
    Any way I’ll be subscribing in your augment or even I fulfillment you
    access consistently fast.

  32. You’ve made some good points there. I checked on the web to find out more about the issue and found most people will go along with your views on this
    site.

  33. I like the helpful information you supply on your
    articles. I’ll bookmark your weblog and take a look at once more here regularly.
    I’m quite certain I will be informed a lot of new stuff right here!
    Good luck for the following!

  34. Thanks for the marvelous posting! I seriously enjoyed
    reading it, you happen to be a great author.I will ensure that I
    bookmark your blog and definitely will come back down the road.
    I want to encourage you to ultimately continue your great work,
    have a nice evening!

  35. Pingback: Build-time Testing » Dezlearn » Learn IT Easy

Leave a Comment

Your email address will not be published. Required fields are marked *