Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Web Development

You're reading from   DevOps for Web Development Achieve the Continuous Integration and Continuous Delivery of your web applications with ease

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465702
Length 408 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started – DevOps Concepts, Tools, and Technologies 2. Continuous Integration with Jenkins 2 FREE CHAPTER 3. Building the Code and Configuring the Build Pipeline 4. Installing and Configuring Chef 5. Installing and Configuring Docker 6. Cloud Provisioning and Configuration Management with Chef 7. Deploying Application in AWS, Azure, and Docker 8. Monitoring Infrastructure and Applications 9. Orchestrating Application Deployment

Understanding the difference between virtual machines and containers


In recent times, cloud computing has become part of almost all technical discussions. Virtual machines have served a lot of people in utilizing resources efficiently. However, Docker containers have given them competition and, in fact, containers are more effective.

Let's find out the basic differences between both and find out the reason behind the popularity of containers:

Virtual machines

Containers

In the virtual machine, we need to install an operating system with the appropriate device drivers; hence, the footprint or size of a virtual machine is huge. A normal VM with Tomcat and Java installed may take up to 10 GB of drive space:

A container shares the operating system and device drivers of the host. Containers are created from images, and for a container with Tomcat installed, the size is less than 500 MB:

There's an overhead of memory management and device drivers. A VM has all the components...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image