Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

A Dive Into Containers and Docker

1.773 Aufrufe

Veröffentlicht am

Docker, containers, rkt, kubernetes, the Open Container Project, CoreOS, and RancherOS are some of the new buzzwords in cloud. If you've read any articles on them you may have been left thinking this is the new hot technology space but you're unsure of how to leverage it in your own environments. You may even still be wondering how this, in a practical sense, is different from working with virtual machines or the other platforms you've been using.

In this session we'll start with an introduction into containers. We'll look where we are going in computing and how containers can be useful in ways virtual machines can't. From there we'll look at ways you can use containers and Docker in your environments today. We'll round out our time by looking at what's being built with container technology that can help you.

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

A Dive Into Containers and Docker

  1. 1. A Dive Into Containers and Docker Matt Farina / @mattfarina CloudDevelop 2015 1
  2. 2. • @mattfarina • mattfarina.com • HP  Hewlett Packard Enterprise • Advanced Technology Group • Go, Node.js, PHP, Ruby, .NET, Python • 5 years building in cloud 2
  3. 3. http://www.slideshare.net/mattfarina/a-dive-into-containers-and-docker 3
  4. 4. 1.Historical 2.Informational 3.Practical 4
  5. 5. 5
  6. 6. 6
  7. 7. History: From The Beginning Up To Containers Long Ago 1980’s 1990’s 2000’s 2010’s Way Back When The wheel 1990 First Web Browser 1989 Web Invented 1995 Beowulf cluster 2006 AWS 2007 Heroku 7 0/0/0000 Calendars reset 1984 DEC VAXcluster 2001 VMware ESX Server 2011 Cloud Foundry 2010 OpenStack
  8. 8. 8 Compute Networking Storage
  9. 9. 9
  10. 10. 10
  11. 11. 11 https://www.flickr.com/photos/littlemisspurps/14925392516/
  12. 12. History: Container Highlights Long Ago 1980’s 1990’s 2000’s 2010’s Way Back When The wheel 1990 First Web Browser 1989 Web Invented 1995 Beowulf cluster 2006 AWS 2007 Heroku 12 0/0/0000 Calendars reset 1984 DEC VAXcluster 2001 VMware ESX Server 2011 Cloud Foundry 2010 OpenStack 2000 FreeBSD Jails 2004 Solaris Containers 1979 Unix chroot 2005 OpenVZ 2007 cgroups 2015 Google Borg Paper 2013 Docker
  13. 13. What did Docker do to make containers a hit? 13
  14. 14. 14 User Experience https://www.flickr.com/photos/pveugen/3182820590/
  15. 15. 15
  16. 16. 16
  17. 17. Virtual Machines 17 Server Host OS Hypervisor Guest OS Guest OS Guest OS bins/libs bins/libs bins/libs App A1 App A2 App B
  18. 18. Virtual Machines vs. Containers 18 Server Host OS Hypervisor Guest OS Guest OS Guest OS bins/libs bins/libs bins/libs App A1 App A2 App B Server Host OS bins/libs bins/libs App A1 App A2 App B Container Manager
  19. 19. Virtual Machine Unused Resources 19 Server VM VM VM App App App VM VM VM App App App Unused Space Inside Each VM
  20. 20. Virtual Machines vs. Containers 20 Server Server VM VM VM App App App VM VM VM App App App App App App App App App App App App App App App App App App App App App
  21. 21. 21 bins / libs Are Layered Layers Are Reusable And Shared
  22. 22. An Example of Layers 22 Ubuntu Java Tomcat An Application
  23. 23. Layers Are Shared 23 Server Host OS Ubuntu Java Go Tomcat App A App B App C
  24. 24. Layers Are Shared 24 Server Host OS Ubuntu Java Go Tomcat App A App B App C 31 2 4 5 6
  25. 25. 25 Volumes 25 /var/volume2 /var/volume1 Container
  26. 26. 26 https://www.flickr.com/photos/jakerust/16844922351
  27. 27. 27
  28. 28. Virtual Machine Border 28 Server VM App Virtual Machines have a border of hardware emulation VM App VM App VM App VM App VM App
  29. 29. Virtual Machines Are A Fairly Safe Multi-Tenant Solution 29
  30. 30. What about containers? https://www.flickr.com/photos/arboghast/3176160087/ 30
  31. 31. 31 https://www.flickr.com/photos/kevandotorg/6229660191
  32. 32. A Shared Kernel and Drivers 32 Server Host OS bins/libs bins/libs App A1 App A2 App B Container Manager Kernel Drivers
  33. 33. 33
  34. 34. 34
  35. 35. Intel Clear Containers Leverage: • Virtualization technology • Kernel Optimizations • Systemd Optimizations • DAX (direct access) in 4.0 kernel • Kernet same-page merging (KSM) • More… 35
  36. 36. 36 https://www.flickr.com/photos/kevandotorg/6229660191
  37. 37. 37
  38. 38. Docker Engine 38
  39. 39. 39
  40. 40. App Container spec 40
  41. 41. 41
  42. 42. If You’re Using It Today 42
  43. 43. 43
  44. 44. 44
  45. 45. 45
  46. 46. 46
  47. 47. Dynamic Scheduling 47 Machine App App App App App App App App App App App App App App App App App App API Metadata + Supporting Things Application + Cloud Native Arch
  48. 48. A Machine Can Be A Server Or A Lot More 48
  49. 49. 49 Deployment Provisioning Lifecycle Management Service Management Reporting And Monitoring
  50. 50. PaaS For More Than Web Applications 50
  51. 51. The Docker Way Docker Swarm Docker Compose 51
  52. 52. 52
  53. 53. 53
  54. 54. 54
  55. 55. 55 Code Push ScanTest Deploy CI/CD
  56. 56. 56
  57. 57. Jenkins + Docker 57
  58. 58. 58
  59. 59. What Can You Use Today? 59 1.Docker
  60. 60. What Can You Use Today? 60 1.Docker 2.Travis CI
  61. 61. What Can You Use Today? 61 1.Docker 2.Travis CI or Jenkins + CloudBees Docker Custom Build Environment Plugin
  62. 62. What Can You Use Today? 62 1.Docker 2.Travis CI or Jenkins + CloudBees Docker Custom Build Environment Plugin 3.Docker Hub
  63. 63. What Can You Use Today? 63 1.Docker 2.Travis CI or Jenkins + CloudBees Docker Custom Build Environment Plugin 3.Docker Hub 4.Stackato
  64. 64. What Can You Use Today? 64 1.Docker 2.Travis CI or Jenkins + CloudBees Docker Custom Build Environment Plugin 3.Docker Hub 4.Stackato or Kubernetes (Azure and Google Cloud offer k8s)
  65. 65. What’s Coming Soon-ish 65
  66. 66. 66 +
  67. 67. 67
  68. 68. 68
  69. 69. Q&A Matt Farina @mattfarina www.mattfarina.com http://www.slideshare.net/mattfarina/a-dive-into-containers-and-docker 69
  70. 70. Thank you Matt Farina @mattfarina www.mattfarina.com http://www.slideshare.net/mattfarina/a-dive-into-containers-and-docker 70

×