資源描述:
《對it的顛覆性革命課件》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、點(diǎn)擊添加文本點(diǎn)擊添加文本點(diǎn)擊添加文本點(diǎn)擊添加文本容器技術(shù)概述Docker起源于dotCloud的內(nèi)部項目,基于Cloudlets,2013年3月發(fā)布,成員有SolomonHykes,AndreaLuzzardi,F(xiàn)rancois-XavierBourlet。2014年3月13日的版本放棄原先的LXC運(yùn)行環(huán)境,而改成用Go語言寫的libcontainer。Docker在這么短的時間內(nèi)如此快速廣泛被IT行業(yè)接受采納在歷史上前所未有。4個月內(nèi),150多個開源項目,1000多個常見應(yīng)用Docker化,幾乎所有的PaaS紛紛掉頭接納D
2、ockerDocker技術(shù)的破壞性橫跨幾乎IT的每個領(lǐng)域(Containerizationisrapidlytakingoverasthede-factomechanismforpackaginganddeployingdistributedapplications,creatingwidespreaddisruptiontovirtuallyeverypartofIT)容器技術(shù)的核心價值TheexcitementandpopularityofDockerhastodowithhowthetechnologyprovides
3、aconsistentmechanismtobuild,deploy,andscaleapplicationcomponentswithisolatedsystemresources.除性能優(yōu)之外,一致性和資源隔離是其核心價值StaticwebsiteWebfrontendUserDBQueueAnalyticsDBBackgroundworkersAPIendpointnginx1.5+modsecurity+openssl+bootstrap2postgresql+pgv8+v8hadoop+hive+thrift+Op
4、enJDKRuby+Rails+sass+UnicornRedis+redis-sentinelPython3.0+celery+pyredis+libcurl+ffmpeg+libopencv+nodejs+phantomjsPython2.7+Flask+pyredis+celery+psycopg+postgresql-clientDevelopmentVMQAserverPublicCloudDisasterrecoveryContributor’slaptopProductionServersIT運(yùn)維的挑戰(zhàn)各種不同
5、技術(shù)框架硬件的多樣性ProductionClusterCustomerDataCenter應(yīng)用和依賴的服務(wù)之間的交互如何解決遷徙部署的便捷?StaticwebsiteWebfrontendBackgroundworkersUserDBAnalyticsDBQueueDevelopmentVMQAServerSingleProdServerOnsiteClusterPublicCloudContributor’slaptopCustomerServersDocker解決NXN問題和集裝箱的比較90%的物資通過集裝箱來運(yùn)輸極大減
6、少裝卸成本極大減少運(yùn)輸成本(from>25%to<3%)全球標(biāo)準(zhǔn)化每年運(yùn)輸2億集裝箱物資Docker運(yùn)作的基本原理SourceCodeRepositoryDockerfileForADockerEngineDockerContainerImageRegistryBuildDockerHost2OS2(Linux)ContainerAContainerBContainerCContainerAPushSearchPullRunHost1OS(Linux)DevOps的主流工具Docker的核心價值小結(jié)PhysicalConta
7、inersDockerContentAgnosticThesamecontainercanholdalmostanytypeofcargoCanencapsulateanypayloadanditsdependenciesHardwareAgnosticStandardshapeandinterfaceallowsamecontainertomovefromshiptotraintosemi-trucktowarehousetocranewithoutbeingmodifiedoropenedUsingoperatingsy
8、stemprimitives(e.g.LXC)canrunconsistentlyonvirtuallyanyhardware—VMs,baremetal,openstack,publicIAAS,etc.—withoutmodificationContentIsolationandInt