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

150 thoughts on “Traditional Virtual Machines vs Docker”

  1. Hello there, just changed into aware of your weblog thru Google, and located that it’s really informative. I am gonna be careful for brussels. I?ll appreciate in the event you proceed this in future. Lots of other people shall be benefited out of your writing. Cheers!

  2. I appreciate, cause I found exactly what I was looking for. You’ve ended my 4 day long hunt! God Bless you man. Have a great day. Bye

  3. I have not checked in here for a while because I thought it was getting boring, but the last several posts are great quality so I guess I?ll add you back to my daily bloglist. You deserve it my friend 🙂

  4. 軟口蓋 腫れ 痛い

    These two models can sometimes be confusing as they are separate ways of assessing risk, but they are also interconnected in that a quantitative risk assessment includes aspects of a qualitative assessment.

  5. นมใหญ่page3

    Do you have a spam problem on this blog; I also am a blogger, and I was wondering your situation; many of us have created some nice practices and we are looking to swap solutions with others, be sure to shoot me an email if interested.

  6. Heya! I just wanted to ask if you ever have any issues
    with hackers? My last blog (wordpress) was hacked and
    I ended up losing a few months of hard work due to no backup.
    Do you have any methods to stop hackers?

  7. all the time i used to read smaller posts which also
    clear their motive, and that is also happening with this post which I am
    reading at this place.

  8. ラブックス

    You ought to be a part of a contest for one of the finest blogs online. I am going to recommend this web site!

  9. 에이원카지노

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

  10. 토토사이트

    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.

  11. You ought to take part in a contest for one of the most useful websites online. I most certainly will recommend this web site!

  12. 검증사이트

    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.

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

  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. จีคลับ

    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!

  19. 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. . . . . .

  20. 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.

  21. 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!

  22. 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.

  23. 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

  24. 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!

  25. 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!

  26. 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!

  27. 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.

  28. 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.

  29. 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.

  30. 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.

  31. 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.

  32. 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.

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

  34. 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.

  35. 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?

  36. 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.

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

  38. 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!

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

  40. 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!

  41. 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.

  42. 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.

  43. 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!

  44. 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!

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

Leave a Comment

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