containerd and what it means for the container ecosystem

29
containerd and What it Means for the Container Ecosystem

Transcript of containerd and what it means for the container ecosystem

Page 1: containerd and what it means for the container ecosystem

containerd and What it Means for the Container Ecosystem

Page 2: containerd and what it means for the container ecosystem

Thank you Docker Meetup Sponsors!

Page 3: containerd and what it means for the container ecosystem

Docker Meetup Next Month• WeneedsomeonetoorganizethemeetingforFebruary21st

• Otherwisewewillnothaveameeting• InfoSiftr TeamwillbeattheContainerWorldConference,February21st throughthe23rd attheSantaClaraConventionCenter• WewillsendoutemailinviteswithDiscountCodes

Page 4: containerd and what it means for the container ecosystem
Page 5: containerd and what it means for the container ecosystem

Las Vegas Docker Meetup Group is Now 300 Plus Members and Growing!

Page 6: containerd and what it means for the container ecosystem

We have Docker Swagg!!!But after the Meetup

Page 7: containerd and what it means for the container ecosystem
Page 8: containerd and what it means for the container ecosystem
Page 9: containerd and what it means for the container ecosystem
Page 10: containerd and what it means for the container ecosystem
Page 11: containerd and what it means for the container ecosystem
Page 12: containerd and what it means for the container ecosystem
Page 13: containerd and what it means for the container ecosystem
Page 14: containerd and what it means for the container ecosystem
Page 15: containerd and what it means for the container ecosystem
Page 16: containerd and what it means for the container ecosystem
Page 17: containerd and what it means for the container ecosystem
Page 18: containerd and what it means for the container ecosystem
Page 19: containerd and what it means for the container ecosystem
Page 20: containerd and what it means for the container ecosystem

containerd Roadmap - Phase 1• GRPCAPI

• Documents:• Wearegoingfromatopdowndesignforfillingoutthismissingpiecesofcontainerd anddesignoftheAPI.

• Design• Documents:

• Thehighleveldesignworkisneededsothatthearchitectureofcontainerd staysconsistentthroughoutthedevelopmentprocess.

• Build&TestProcess• Documents:

• Weneedtohaveasimplebuildandtestprocessfornewdeveloperstobootstraptheirenvironments.Becausecontainerd willbethebaseofmanyhighlevelsystemsweneedtohaveasimplebuildprocessthatdoesnotrequirehighleveltooling.

• Status: InProgress

Page 21: containerd and what it means for the container ecosystem

containerd Roadmap - Phase 2Phase2includesmostofthedesignanddevelopmentworkfortheexecutionandstoragelayersofcontainerd.Itwillincludeportingoverexisting"graphdrivers"fromDockerEngineandfindingacommonmodelforrepresentingsnapshotsforlayeredfilesystems.ThiswillalsoincludemovingtheexistingexecutioncodesupportOCI'sRuntimeSpecandtheexistingcontainerd executioncode.• Runtime

• Theruntimelayerisresponsibleforthecreationofcontainersandtheirmanagement,andsupervisionoftheprocessesinsidethosecontainers.

• Storage• Documents: https://github.com/docker/containerd/blob/master/design/snapshots.md

• Thecurrentgraphdriverswerebuiltwhenweonlyhadoverlayfilesystemslikeaufs.Weforcedthemodeltobedesignedaroundoverlayfilesystemsandthisintroducedalotofcomplexityforsnapshottinggraphdriverslikebtrfs anddevicemapper thin-p.Ourcurrentapproachistomodelourstoragelayeraftersnapshottingdriversinsteadofoverlaydriversaswecangetthesameresultsanditscleanerandmorerobusttohaveanoverlayfilesytem modelsnapshotsthanitistohaveasnapshotfilesystemmodeloverlayfilesystems.

• Status: InDesign

Page 22: containerd and what it means for the container ecosystem

containerd Roadmap - Phase 3ThisphaseincludesgettingsupportfortheOCIImagespecbuiltintocontainerd.• Status: NotStarted

Page 23: containerd and what it means for the container ecosystem

containerd Roadmap - Phase 4Phase4involvesgraduatingtoversion1.0,andshiftingthefocusfromfeaturestomaintenance.Graduatingto1.0implies:• Completingalloftheabovephases.• Coveringthefunctionalitiesrequiredbyamajorityofcontainer-centricplatforms.• Offeringfeatureparity,totheextentoftechnicalpossibilities,acrossLinuxandWindows.• Demonstratingthatcontainerd fulfillstherequirementsofatleastonehigher-levelplatformsthroughitscompleteintegrationasanupstream.

• Status: NotStarted

Page 24: containerd and what it means for the container ecosystem

Top questions Docker, Inc. received following this announcementQ.Areyouplanningtorundocker withoutrunC ?• A.AlthoughrunC isthe default runtime,asof Docker1.12,itcanbereplacedbyanyotherOCI-compliantimplementation.DockerwillbecompliantwiththeOCIRuntimeSpecification

Q.Whatmajorchangesareontheroadmapforswarmkit torunoncontainerd ifany?• A.SwarmKit isusingDockerEnginetoorchestratetasks,andDockerEngineisalreadyusingcontainerd forcontainerexecution.Sotechnically,youarealreadyusingcontainerd whenusingSwarmKit.ThereisnoplancurrentlytohaveSwarmKit directlyorchestratecontainerd containersthough.

Page 25: containerd and what it means for the container ecosystem

Top questions Docker, Inc. received following this announcement….Q.MindsharingwhyyouwentwithGRPCfortheAPI?• A.containerd isacomponentdesignedtobeembeddedinahigherlevelsystem,andserveahostlocalAPIoverasocket.GRPCenablesustofocusondesigningRPCcallsanddatastructuresinsteadofhavingtodealwithJSONserializationandHTTPerrorcodes.ThisimprovesiterationspeedwhendesigningtheAPIanddatastructures.Forhigherlevelsystemsthatembedcontainerd,suchasDockerorKubernetes,aJSON/HTTPAPImakesmoresense,allowingeasierintegration.TheDockerAPIwillnotchange,andwillcontinuetobebasedonJSON/HTTP.

Q.Howdoyouexpecttoseeothersleveragecontainerd outsideofDocker?• A.CloudmanagedcontainerservicessuchasAmazonECS,MicrosoftACS,GoogleContainerEngine,ororchestrationtoolssuchasKubernetesorMesos canleveragecontainerd astheircorecontainerruntime.containerd hasbeendesignedtobeembeddedforthatpurpose.

Page 26: containerd and what it means for the container ecosystem

Top questions Docker, Inc. received following this announcement….Q.Howdidyoudecidedwhichfeatureshouldgetintocontainerd? Howdidyoucameupwiththescopeofthefuturecontainers?• A.We’retryingtocaptureincontainerd thefeaturesthatanycontainer-centricplatformwouldneed,andforwhichthere’sreasonableconsensusonthewayitshouldbeimplemented.Aspectswhichareeithernotwidelyagreedonorthatcantriviallybebuiltonelayerupwereleftout.

Q.HowintegratewithCNIandCNM?• A. Phase3ofthecontainerdroadmap involvesportingthenetworkdriversfromlibnetwork andfindingagoodmiddlegroundbetweentheCNMabstractionoflibnetwork andtheCNIspec.

Page 27: containerd and what it means for the container ecosystem

Links to containerd Projectand Other Informationcontainerd LivestreamRecap• https://blog.docker.com/2017/01/containerd-livestream-recap/containerd webpage• https://containerd.ioGitHubcontainerdPage• https://github.com/docker/containerdcontainerd Roadmap• https://github.com/docker/containerd/blob/master/ROADMAP.mdSlackChannelforcontainerd• https://community.docker.com/registrations/groups/4316

Page 28: containerd and what it means for the container ecosystem

Q&A and Open Discussion• Questionsaboutcontainerd• QuestionsaboutyourDocker/containerprojects• FindingsandTipsfortheGroup• GeneralOpenDiscussionabouttheecosystem

Page 29: containerd and what it means for the container ecosystem