Docker对IT的颠覆性革命_第1页
Docker对IT的颠覆性革命_第2页
Docker对IT的颠覆性革命_第3页
Docker对IT的颠覆性革命_第4页
Docker对IT的颠覆性革命_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、容器技术概述Docker 起源于 dotCloud 的内部项目,基于Cloudlets,2013年3月发布,成员有 Solomon Hykes,Andrea Luzzardi,Francois-Xavier Bourlet。2014年3月13日的版本放弃原先的LXC运行环境,而改成用Go语言写的 libcontainer。Docker 在这么短的时间内如此快速广泛被IT行业接受采纳在历史上前所未有。4个月内,150多个开源项目,1000多个常见应用 Docker 化,几乎所有的 PaaS 纷纷掉头接纳 DockerDocker 技术的破坏性横跨几乎IT的每个领域 (Containerizati

2、on is rapidly taking over as the de-facto mechanism for packaging and deploying distributed applications, creating widespread disruption to virtually every part of IT)容器技术的核心价值 The excitement and popularity of Docker has to do with how the technology provides a consistent mechanism to build, deploy,

3、 and scale application components with isolated system resources. 除性能优之外,一致性和资源隔离是其核心价值Static websiteWeb frontend User DBQueueAnalytics DBBackground workersAPI endpointnginx 1.5 + modsecurity + openssl + bootstrap 2postgresql + pgv8 + v8hadoop + hive + thrift + OpenJDKRuby + Rails + sass + UnicornRe

4、dis + redis-sentinelPython 3.0 + celery + pyredis + libcurl + ffmpeg + libopencv + nodejs + phantomjsPython 2.7 + Flask + pyredis + celery + psycopg + postgresql-clientDevelopment VMQA serverPublic CloudDisaster recoveryContributors laptopProduction ServersIT 运维的挑战各种不同技术框架各种不同技术框架硬件的多样性硬件的多样性Product

5、ion ClusterCustomer Data Center应用和依赖的服务应用和依赖的服务之间的交互之间的交互如何解决迁徙如何解决迁徙部署的便捷?部署的便捷?Static websiteWeb frontend Background workersUser DBAnalytics DBQueueDevelopment VMQA ServerSingle Prod ServerOnsite ClusterPublic CloudContributors laptopCustomer ServersDocker 解决 NXN 问题 和集装箱的比较 90% 的物资通过集装箱来运输 极大减少装卸成

6、本 极大减少运输成本 (from 25% to 3%)全球标准化 每年运输2亿集装箱物资Docker 运作的基本原理Source Code RepositoryDockerfileFor ADocker EngineDockerContainerImage RegistryBuildDocker Host 2 OS 2 (Linux)Container AContainer BContainer CContainer APushSearchPullRunHost 1 OS (Linux)DevOps 的主流工具Docker 的核心价值小结Physical ContainersDockerCon

7、tent AgnosticThe same container can hold almost any type of cargoCan encapsulate any payload and its dependenciesHardware AgnosticStandard shape and interface allow same container to move from ship to train to semi-truck to warehouse to crane without being modified or openedUsing operating system pr

8、imitives (e.g. LXC) can run consistently on virtually any hardwareVMs, bare metal, openstack, public IAAS, etc.without modificationContent Isolation and InteractionNo worry about anvils crushing bananas. Containers can be stacked and shipped togetherResource, network, and content isolation. Avoids d

9、ependency hellAutomationStandard interfaces make it easy to automate loading, unloading, moving, etc.Standard operations to run, start, stop, commit, search, etc. Perfect for devops: CI, CD, autoscaling, hybrid cloudsHighly efficientNo opening or modification, quick to move between waypointsLightwei

10、ght, virtually no perf or start-up penalty, quick to move and manipulateSeparation of dutiesShipper worries about inside of box, carrier worries about outside of boxDeveloper worries about code. Ops worries about infrastructure.Docker 对 IaaS 的影响1.Docker 对数据中心的巨大影响,重新定义对VM的认识,对网络的认识,对存储的认识。对硬件使用的密度加大

11、2.IaaS 对运行Docker的支持将变得主流1.Amazon 在 Elastic Beanstalk 已经开始支持 Docker2.Google 在Google Cloud Platform里开始支持容器引擎3.CenturyLink 开发 Panamax 支持 Docker4.Digital Ocean 支持 CoreOS 为 base image3.预测在2015年会有全新的围绕容器技术的工具,API,云服务。 Docker对PaaS 的影响1.Cloud Foundry, OpenShift, and ActiveState 全部快速接纳Docker技术(CF的Diego项目)2.对

12、于大公司而言,PaaS 平台仍然存在一定价值,比如安全,监控,健康管理,多用户支持等,但是这种价值开始减小。Docker 的“git push”甚至比PaaS的部署体验更好。 3.PaaS的构建变得简单,出现第三代 PaaS,基于Docker(Deis, Flynn, Tsuru, Dawn and Octohost 仍然在开发中)【第二代以Cloud Foundry 和Openshift为代表】4.Docker Swarm 和 Docker Compose 仍然不稳定,开发中Docker对 SaaS 的影响1. 多租户系统的衰退2. SaaS多租户的数据隔离和集中3. 微服务的流行和Aggregation Layer的技术研发普及4. Docker将改变 SaaS 应用的顶层架构设计Docker 对软件架构的影响运行在任何环境任何设备上(public/private/virtualized)开发员组合各种最优微服务瘦客户端移动终端胖客户端重中间件大型物理基础设施19952015 Docker对软件开发的影响1. Docker 很好地解决 “dependency

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论