290 likes | 428 Views
** Edureka DevOps Training : https://www.edureka.co/devops ** <br>This Edureka Video on Docker vs VM (Virtual Machine) video compares the Major Differences between Docker and VM. Below are the topics covered in the video: <br><br>1. What is Virtual Machine? <br>2. Benefits of Virtual Machine <br>3. What are Docker Containers <br>4. Benefits of Docker Containers <br>5. Docker vs VM u2013 Main Differences <br>6. Use Case <br><br>Check our complete DevOps playlist here (includes all the videos mentioned in the video): http://goo.gl/O2vo13 <br>Follow us to never miss an update in the future. <br><br>Instagram: https://www.instagram.com/edureka_learning/ <br>Facebook: https://www.facebook.com/edurekaIN/ <br>Twitter: https://twitter.com/edurekain <br>LinkedIn: https://www.linkedin.com/company/edureka
E N D
Agenda Traditional Integration and its Problems Hands-On What is Continuous Integration Jenkins Plugins Jenkins – The Ultimate CI Tool Benefits of Continuous Integration Requirements for CI System Continuous Integration www.edureka.co/devops DevOps Certification Training
Agenda Docker vs VM www.edureka.co/devops DevOps Certification Training
Virtual Machines Copyright © 2018, edureka and/or its affiliates. All rights reserved.
What is a Virtual Machine? Docker vs VM www.edureka.co/devops DevOps Certification Training
Benefits of Virtual Machines All OS resources available to apps Established security tools 3 1 4 Better known security controls 2 Established management tools Docker vs VM www.edureka.co/devops DevOps Certification Training
Popular Virtual Machines Providers Docker vs VM www.edureka.co/devops DevOps Certification Training
Docker Containers Copyright © 2018, edureka and/or its affiliates. All rights reserved.
What are Docker Containers? Docker vs VM www.edureka.co/devops DevOps Certification Training
Types of Containers Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Types of Containers Linux Containers (LXC) Docker • To build single-application LXC containers. More portable and flexible to use. Later morphed into its own container runtime environment. At a high level, Docker is a Linux utility that can efficiently create, ship, and run containers. • • Commonly known as LXC. • It is a Linux operating system level virtualization method for running multiple isolated Linux systems on a single host. • • Docker vs VM www.edureka.co/devops DevOps Certification Training
Benefits of Containers Quicker Spinning Less Code Security Updates Reduced Size Of Snapshots Reduced IT Management Resources Docker vs VM www.edureka.co/devops DevOps Certification Training
Popular Container Providers Linux Containers (LXC) Docker vs VM www.edureka.co/devops DevOps Certification Training
Major Differences Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Major Differences ✓ Containers: ✓ Hosted on a single physical server ✓ Suitable for running multiple applications over a single OS kernel ✓ Virtual machines: ✓ Have a host OS and individual guest OS inside each VM ✓ Required for applications or services OS Support Docker vs VM www.edureka.co/devops DevOps Certification Training
Major Differences ✓ Containers: ✓ Hosted on a single physical server ✓ Suitable for running multiple applications over a single OS kernel ✓ Virtual machines: ✓ Have a host OS and individual guest OS inside each VM ✓ Required for applications or services OS Support ✓ Docker: Has access to the kernel subsystems ✓ VM: Provides root access to applications ✓ Own kernel and security features Security Docker vs VM www.edureka.co/devops DevOps Certification Training
Major Differences ✓ Docker: ✓ Containers are self-contained packages that can run the required application ✓ Light-weight architecture ✓ For development purposes Docker containers are the ideal choice ✓ VM: ✓ Are isolated server instances with their own OS Portability Docker vs VM www.edureka.co/devops DevOps Certification Training
Major Differences ✓ Docker: ✓ Containers are self-contained packages that can run the required application ✓ Light-weight architecture ✓ For development purposes Docker containers are the ideal choice ✓ VM: ✓ Are isolated server instances with their own OS Portability ✓ Docker: ✓ Light-weight architecture and start up very fast compared to VM, ✓ Resource usage also varies among the two ✓ CPU, memory, I/O, etc. usage varies with the load ✓ VM: ✓ No need to allocate resources permanently to containers Performance ✓ Has to load an entire OS to start Docker vs VM www.edureka.co/devops DevOps Certification Training
Use-Case Copyright © 2018, edureka and/or its affiliates. All rights reserved.
How PayPal Bank Uses Docker and VM CHALLENGES Provides Online Payment Solutions ✓ Account Balances ✓ Bank Accounts ✓ Credit Cards Improving Security Cost Efficient Modernize Data Centre TECHNOLOGY USED ADVANTAGES Reduce No. of VM Cost Efficient Productivity Enterprise Grade Security Reference : https://www.docker.com/customers/paypal-uses-docker-containerize-existing-apps-save-money-and-boost-security Docker vs VM www.edureka.co/devops DevOps Certification Training
Session In A Minute Virtual Machines Docker Containers Hardware level process isolation OS level process isolation VM offers complete isolation of applications from host OS Docker containers can share some resources with host OS Each VM has separate OS Each docker container can share OS resources Boosts in minutes Boosts in seconds More resource usage Less resource usage Pre-configured VMs are hard to find and manage Pre-built docker containers for home server apps already available Customizing pre-configured VMs require work Building a custom setup with containers is easy VMs are typically bigger in size as they contain whole OS underneath Docker containers are small in size with only docker engine over the host OS VMs can be easily moved to a new host OS Containers are destroyed and recreated rather than moving Creating VMs take relatively long time Docker containers can be created in seconds Virtualized Apps are harder to find and it takes more time to install and run them Containerized apps such as Sonarr, CouchPotatoa etc. can be found and installed easily within minutes. Docker vs VM www.edureka.co/devops DevOps Certification Training
Docker Containers vs VM – Summary Docker vs VM www.edureka.co/devops DevOps Certification Training
Major Differences https://bobcares.com/blog/docker-vs-virtual-machines/2/ Docker vs VM www.edureka.co/devops DevOps Certification Training
www.edureka.co/devops DevOps Certification Training
www.edureka.co/devops DevOps Certification Training
ADD TEXT C D 35% B A YOUR CONTENT WRITE SOME TEXT HERE ADD TEXT www.edureka.co/devops DevOps Certification Training
How Starling Bank Uses VM CHALLENGES Digital, mobile-only challenger bank ✓ Current Accounts ✓ Business Accounts ✓ Payments Services IT Bills Secure TECHNOLOGY USED ADVANTAGES Low Cost of Innovation To Manage AWS services Deliver Quickly Build Bank In a Year Data Storage Docker vs VM www.edureka.co/devops DevOps Certification Training
----------------- CHALLENGES Digital, mobile-only challenger bank ✓ Current Accounts ✓ Business Accounts ✓ Payments Services IT Bills Secure TECHNOLOGY USED ADVANTAGES Low Cost of Innovation To Manage AWS services Deliver Quickly Build Bank In a Year Data Storage Docker vs VM www.edureka.co/devops DevOps Certification Training