Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Vagrant vs Docker

But it works on my dev box! How many times have we heard this answer when the app works on one machine, but fails on another? This is the problem that led my team to use Vagrant to gain consistency between environments. However, could Docker be even better? This talk gives an introduction to Vagrant and Docker and explores how they compare.

  • Inicia sesión para ver los comentarios

Vagrant vs Docker

  1. 1. VS By: Jonathan Chase
  2. 2. whoami Name: Jonathan Chase Occupation: Software Engineer
  3. 3. Our Problem Environment Inconsistency
  4. 4. Our Solution • Virtual machines • New problem – How to push updates?
  5. 5. • Purpose: – Building development environments • Started: – January 2010 by Mitchell Hashimoto • Produced by: HashiCorp • Open source – Pay for professional support • https://www.vagrantup.com • https://docs.vagrantup.com • https://vagrantcloud.com
  6. 6. • Developer defines the VM configuration • Vagrant interfaces with VirtualBox or other VM manger to build and launch the VM • Developer can easily rebuild the VM • VM configuration can easily be shared How it works
  7. 7. • VirtualBox • VMWare • AWS-EC2 • Google App Engine • Many repos of VM images for Vagrant Adoption
  8. 8. • Since 2010 Google Trends
  9. 9. • vagrant up demo
  10. 10. • Vagrant == awesome • What’s Docker all about?
  11. 11. • Purpose: – Build, ship, and run aplications • Started: – March 2013 by Solomon Hykes • Produced by: Docker Inc. • Open source – Pay for professional support • https://www.docker.com • https://hub.docker.com
  12. 12. • Builds on LxC – LinuX Containers • Linux kernel cgroups – Control groups – Isolation: CPU, memory, block I/O, network • Linux kernel namespace isolation • Container runs as an application rather than a virtual machine How it works
  13. 13. • Support Docker: – AWS – Vagrant – Digital Ocean – Google App Engine • Using Docker: – Ebay – Yelp – Spotify Adoption
  14. 14. • Rocket – CoreOS – Claims more secure – Aims to be a more simple container manager where as Docker as recently focused on managing containers in clusters etc. – https://coreos.com/blog/rocket/ Competition
  15. 15. Google Trends • Since 2010
  16. 16. Google Trends Vagrant Docker
  17. 17. • docker run demo
  18. 18. Comparison • Virtual Machine • Better separation • Security • Resource • Development environment focus • Configure environments • Can be used for development • Can be used for production • Light weight • Portable • Fast starting/stopping • Linux only • Production deployment focus • Tied to Docker Repo
  19. 19. Resources • Vagrant: – https://www.vagrantup.com – https://docs.vagrantup.com – https://vagrantcloud.com • Docker: – https://www.docker.com – https://hub.docker.com
  20. 20. Resources • Comparison Threads: – http://stackoverflow.com/questions/16647069/should -i-use-vagrant-or-docker-io-for-creating-an-isolated- environment – http://www.scriptrock.com/articles/docker-vs-vagrant • CoreOS - Rocket over Docker – https://coreos.com/blog/rocket/ • Google Trends: – http://www.google.com/trends/explore#q=%2Fm%2F 0wkcjgj&date=1%2F2010%2060m&cmpt=q
  21. 21. Resources • Icons and other sources: – http://www.iconarchive.com/show/operating-systems- icons-by-tatice/Windows-icon.html – http://www.iconarchive.com/show/operating-systems- icons-by-tatice/Apple-Rainbow-icon.html – http://www.iconarchive.com/show/operating-systems- icons-by-tatice/Linux-icon.html – http://www.eightforums.com/virtualization/6793-vbox- ose-windows-xp-vista-7-8-64-bit.html – https://www.docker.com – https://www.vagrantup.com – https://www.virtualbox.org
  22. 22. Questions ? VS

×