SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
Docker	
  Overview	
  –	
  	
  
Rise	
  of	
  the	
  Containers	
  
	
  Ryan	
  Hodgin	
  
@rhodgin	
  
IBM	
  Cloud	
  –	
  Cloud	
  Innova?on	
  
04/17/15	
  
Agenda	
  
§  Execu?ve	
  Summary	
  
§  Where	
  does	
  Docker	
  fit	
  in	
  the	
  world	
  of	
  Servers	
  and	
  Hypervisors?	
  
§  What’s	
  an	
  Applica?on	
  Container?	
  
§  How	
  is	
  Docker	
  different?	
  
–  What	
  is	
  a	
  Docker	
  image?	
  
–  What	
  is	
  a	
  Docker	
  file?	
  
–  What	
  is	
  a	
  Docker	
  registry?	
  
§  How	
  popular	
  is	
  Docker?	
  
§  What	
  is	
  the	
  performance	
  like?	
  
§  What’s	
  Docker	
  working	
  on	
  now?	
  
§  How	
  does	
  Docker	
  change	
  designs?	
  
§  What	
  are	
  some	
  of	
  Docker’s	
  challenges?	
  
§  What’s	
  next	
  for	
  Docker?	
  
§  What	
  is	
  IBM	
  doing	
  with	
  Docker?	
  
4/17/15	
   2	
  
Docker:	
  Execu?ve	
  Summary	
  
§  Background	
  
–  Docker	
  provides	
  the	
  leading	
  applica?on	
  container	
  engine;	
  open	
  source	
  under	
  
the	
  Apache	
  2.0	
  license	
  
–  Enables	
  an	
  applica?on	
  image	
  to	
  be	
  constructed	
  with	
  its	
  run?me	
  dependencies	
  
and	
  deployed	
  iden?cally	
  on	
  mul?ple	
  environments	
  without	
  modifica?on.	
  
–  Version	
  1.0	
  announced	
  on	
  June	
  9th,	
  2014	
  
–  Makes	
  use	
  of	
  technology	
  available	
  in	
  all	
  mainstream	
  Linux	
  distribu?ons	
  
–  Referred	
  to	
  as	
  “Virtualiza?on	
  2.0”	
  due	
  to	
  its	
  removal	
  of	
  o^en	
  unnecessary	
  
por?ons	
  of	
  hypervisors.	
  	
  
–  Containers	
  can	
  be_er	
  u?lize	
  hardware	
  resources	
  and	
  perform	
  be_er	
  than	
  
tradi?onal	
  virtualiza?on.	
  
–  Integrates	
  solu?ons	
  from	
  DevOps	
  community	
  to	
  improve	
  release	
  management	
  
and	
  deployments.	
  
–  Rapidly	
  growing	
  in	
  interest	
  and	
  usage	
  by	
  both	
  developers	
  and	
  system	
  
administrators.	
  
–  	
  Docker	
  is	
  being	
  aggressively	
  adopted	
  by	
  many	
  key	
  tech	
  companies	
  
•  Announcements	
  from	
  IBM,	
  Microso8,	
  Google,	
  Amazon,	
  VMWare,	
  Red	
  Hat,	
  etc..	
  
–  Docker	
  Inc.	
  now	
  valued	
  at	
  more	
  than	
  $1B	
  with	
  latest	
  rounding	
  of	
  VC	
  funding.	
  
4/17/15	
   3	
  
Happy	
  Birthday	
  Docker!	
  
4/17/15	
   4	
  
Docker	
  Engine:	
  A	
  “Hypervisor”	
  for	
  Containers	
  
4/17/15	
   5	
  
Hardware	
  
Hypervisor	
  
Virtual	
  Machine	
  
OperaJng	
  
System	
  
Bins	
  /	
  libs	
  
App	
   App	
  
Virtual	
  Machine	
  
OperaJng	
  
System	
  
Bins	
  /	
  libs	
  
App	
   App	
  
Hardware	
  
OperaJng	
  System	
  
Container	
  
Bins	
  /	
  libs	
  
App	
   App	
  
Container	
  
Bins	
  /	
  libs	
  
App	
   App	
  
Hardware	
  
OperaJng	
  System	
  
Container	
  
Bins	
  /	
  libs	
  
App	
   App	
  
Container	
  
Bins	
  /	
  libs	
  
App	
   App	
  
CLI	
   REST	
  API	
   Dockerfiles	
  
Type	
  1	
  Hypervisor	
   Linux	
  Containers	
   Docker	
  
Conceptual	
  Mapping	
  
	
  
VM	
  à	
  Container	
  
Hypervisor	
  à	
  Docker	
  Engine	
  
Containers	
  Aren’t	
  A	
  New	
  Concept	
  
§  Containers	
  have	
  existed	
  for	
  years	
  in	
  the	
  Unix	
  world:	
  
4/17/15	
   6	
  
IBM	
  AIX	
  WPARs	
  
Oracle	
  Solaris	
  Zones	
  
BSD	
  Jails	
  
Technology	
  for	
  Containers	
  Added	
  to	
  Linux	
  
4/17/15	
   7	
  
User	
  Space	
  Kernel	
  Space	
  
Kernel	
  
System	
  Call	
  Interface	
  
Architecture	
  Dependent	
  Kernel	
  Code	
  
GLIBC	
  /	
  Pseudo	
  FS	
  /	
  User	
  Space	
  Tools	
  &	
  Libs	
  
Linux	
  Container	
  Tooling	
  
Linux	
  Container	
  Commodi?za?on	
  
Orchestra?on	
  &	
  Management	
  
Hardware	
  
cgroups	
  
namespaces	
  
chroots	
  
LSM	
  
lxc	
  
Deployments	
  have	
  shi^ed	
  to	
  VMs	
  and	
  images	
  
§  VMs	
  and	
  images	
  commonly	
  used	
  in	
  the	
  Cloud	
  world:	
  
–  AWS	
  Xen	
  and	
  Amazon	
  Machine	
  Images	
  
–  So^Layer	
  Xen	
  and	
  Standard/Flex	
  Images	
  
–  Microso^	
  Azure	
  –	
  Customized	
  Hyper-­‐V	
  and	
  VM	
  Images	
  
–  Google	
  Compute	
  Engine	
  –	
  KVM	
  
–  OpenStack	
  -­‐	
  KVM	
  
§  Similar	
  technologies	
  are	
  used	
  in	
  tradi?onal	
  data	
  centers:	
  
–  VMWare	
  vSphere	
  
–  Citrix	
  Xen	
  
–  KVM	
  
–  Microso^	
  Hyper-­‐V	
  
4/17/15	
   8	
  
Docker	
  Containers	
  vs.	
  Tradi?onal	
  VMs	
  
§  Tradi?onal	
  VMs	
  include	
  wasted	
  resources	
  to	
  support	
  the	
  Guest	
  OS	
  while	
  Docker	
  
makes	
  use	
  of	
  layering	
  to	
  share	
  common	
  OS	
  /	
  lib	
  por?ons	
  of	
  images.	
  
4/17/15	
   9	
  
What	
  is	
  a	
  container?	
  
§  Modeled	
  on	
  the	
  success	
  of	
  shipping	
  containers,	
  an	
  applica?on	
  container	
  is	
  
designed	
  to	
  contain	
  a	
  complete	
  deployment	
  unit	
  for	
  an	
  applica?on	
  to	
  allow	
  for	
  
automa?on,	
  version	
  tracking,	
  and	
  rapid	
  deployment.	
  
4/17/15	
   10	
  
What	
  is	
  in	
  a	
  container?	
  
§  Applica?on	
  deployments	
  have	
  focused	
  on	
  the	
  applica?on	
  binaries	
  and	
  relied	
  on	
  
opera?ons	
  for	
  the	
  applica?on’s	
  dependencies	
  (Java	
  JRE,	
  Ruby	
  Gems,	
  Python,	
  App	
  
Server,	
  etc.)	
  
§  Docker	
  images	
  include	
  these	
  applica?on	
  dependencies	
  in	
  the	
  container	
  along	
  with	
  the	
  
applica?on.	
  
4/17/15	
   11	
  
WAR	
  file	
  construcJon:	
  
Docker	
  image	
  construcJon:	
  
Docker:	
  Dockerfiles	
  
§  Dockerfiles	
  document	
  how	
  to	
  construct	
  the	
  container	
  and	
  what	
  to	
  execute	
  when	
  it	
  
is	
  running.	
  
§  Normally	
  a	
  container	
  should	
  contain	
  a	
  single	
  process.	
  
§  Dockerfiles	
  are	
  readable	
  and	
  maintainable	
  along	
  with	
  applica?on	
  source	
  code.	
  
4/17/15	
   12	
  
Docker:	
  Images,	
  Layers	
  &	
  Registries	
  
4/17/15	
   13	
  
The	
  layers	
  build	
  on	
  one	
  another	
  and	
  only	
  the	
  differences	
  are	
  stored	
  in	
  each	
  layer.	
  	
  
Docker:	
  Images,	
  Layers	
  &	
  Registries	
  
4/17/15	
   14	
  
DockerHub	
  
4/17/15	
   15	
  
Build	
   Ship	
  
Run	
  
Dev	
  
QA	
  
Source	
  
Staging	
  
Physical	
  
Virtual	
  
Cloud	
  
Infrastructure	
  Management	
  
Infrastructure	
  Management	
  
DockerFile	
  
Source	
  Code	
  	
  
Repository	
  
TEST	
  TEST	
  
TEST	
  TEST	
  
TEST	
  
GCE	
   RAX	
   IBM	
  
Mac/Win	
  Dev	
  
Machine	
  
Boot2Docker	
  
Docker	
  
Analytics	

DB	

Prod	
  Machine	
  
Linux	
  OS	
  
Docker	
  Docker	
  
++	
  
Users	
   Collab	
  
Provenance	
   Policy	
  
Docker	
  Hub	
  
Registries	
  
Public	
   Curated	
   Private	
  
Docker	
  Hub	
  API	
  
Third	
  Party	
  Tools	
  
Prod	
  Machine	
  
Linux	
  OS	
  
Docker	
  Docker	
  
Prod	
  Machine	
  
Linux	
  OS	
  
Docker	
  Docker	
  
VM	
  
Docker	
  Docker	
  
VM	
  
Docker	
  Docker	
  
VM	
  
Docker	
  Docker	
  
QA	
  Machine	
  
Linux	
  OS	
  
Docker	
  Docker	
  
§  Public	
  and	
  private	
  repositories	
  are	
  used	
  to	
  host	
  images.	
  
Docker:	
  Open	
  Planorm	
  
4/17/15	
   16	
  
Any	
  App	
  
Any	
  infrastructure	
  
•  Physical	
  
•  Virtual	
  cloud	
  
+	
  65K	
  apps	
  
+	
  50K	
  projects	
  
API	
  
	
  
	
  
Engine	
   Hub	
  
cloud-­‐based	
  plagorm	
  services	
  for	
  distributed	
  
applicaJons	
  	
  
API	
  
open	
  source	
  so8ware	
  at	
  the	
  heart	
  	
  
of	
  the	
  Docker	
  plagorm	
  	
  
Docker:	
  Ecosystem	
  
4/17/15	
   17	
  
Official	
  Repos	
  &	
  65K+	
  Dockerized	
  Apps	
  
Community	
  
700+	
  Contributors	
  
175+	
  Meetups	
  in	
  40	
  countries	
  
2.75M	
  Downloads	
  
50K	
  Projects	
  on	
  GitHub	
  
Support	
  
Enterprise	
  Support	
  
Robust	
  DocumentaJon	
  
ImplementaJon,	
  IntegraJon,	
  Training	
  	
  
Network	
  of	
  Partners	
  
The	
  Docker	
  Planorm	
  
	
  
	
  	
  Docker	
  Engine	
  
	
  	
  Docker	
  Hub	
  	
  
	
  
Build,	
  Ship,	
  and	
  Run	
  
Partners	
  
Content	
  
Users	
  
Docker:	
  Adop?on	
  
4/17/15	
   18	
  
Docker	
  has	
  the	
  highest	
  buying	
  intenJon	
  score	
  of	
  any	
  enterprise	
  company	
  	
  
or	
  open-­‐source	
  project	
  in	
  six	
  years	
  of	
  tracking	
  by	
  research	
  firm	
  	
  
Enterprise	
  Technology	
  Research.	
  
Docker:	
  Performance	
  
§  Performance	
  comparison	
  with	
  KVM	
  by	
  IBM	
  Research	
  shows	
  near	
  bare	
  metal	
  
performance	
  that	
  “equals	
  or	
  exceeds	
  KVM	
  performance	
  in	
  every	
  case	
  we	
  tested.”	
  
§  See	
  full	
  report	
  at:	
  
h_p://domino.research.ibm.com/library/cyberdig.nsf/papers/
0929052195DD819C85257D2300681E7B/%24File/rc25482.pdf	
  
	
  
4/17/15	
   19	
  
DockerCon14	
  Europe	
  Announcements	
  
§  At	
  its	
  event	
  on	
  12/4-­‐12/5,	
  Docker	
  announced:	
  
–  Docker	
  Orchestra?on	
  Services	
  
•  Adds	
  ability	
  to	
  assemble	
  mulJ-­‐container	
  applicaJons	
  
•  Supports	
  any	
  infrastructure	
  (laptop,	
  private,	
  public	
  clouds,	
  etc.)	
  
•  Manages	
  all	
  containers	
  of	
  an	
  applicaJon	
  as	
  a	
  single	
  group	
  
•  Cluster	
  an	
  applicaJon’s	
  containers	
  for	
  HA	
  and	
  resource	
  opJmizaJon	
  
•  Includes	
  three	
  new	
  services:	
  
–  Docker	
  Machine	
  –	
  a	
  host	
  running	
  the	
  Docker	
  Engine	
  
–  Docker	
  Swarm	
  –	
  a	
  Docker-­‐naJve	
  clustering	
  service	
  that	
  works	
  with	
  Docker	
  Engines	
  and	
  pools	
  their	
  resources	
  across	
  
them	
  
–  Docker	
  Compose	
  –	
  allows	
  for	
  applicaJon	
  assembly	
  
–  Docker	
  Hub	
  Enterprise	
  
•  Allows	
  for	
  Developers	
  to	
  create	
  mulJ-­‐container	
  distributed	
  applicaJons	
  behind-­‐the-­‐firewall.	
  
•  Integrates	
  private	
  and	
  public	
  Docker	
  repositories.	
  
•  Brought	
  to	
  market	
  by	
  IBM,	
  Amazon,	
  and	
  Microso8	
  as	
  part	
  of	
  broader	
  set	
  of	
  product	
  and	
  service	
  
offerings.	
  
•  Architected	
  for	
  high-­‐availability	
  and	
  horizontal	
  scalability	
  
•  Planned	
  availability	
  in	
  2Q	
  2015	
  
4/17/15	
   20	
  
Docker	
  Machine	
  
§  Machine	
  makes	
  it	
  really	
  easy	
  to	
  create	
  Docker	
  hosts	
  on	
  your	
  computer,	
  on	
  cloud	
  
providers	
  and	
  inside	
  your	
  own	
  data	
  center.	
  It	
  creates	
  servers,	
  installs	
  Docker	
  on	
  
them,	
  then	
  configures	
  the	
  Docker	
  client	
  to	
  talk	
  to	
  them.	
  
4/17/15	
   21	
  
§  Drivers	
  exist	
  for:	
  
–  So^Layer	
  
–  AWS	
  
–  DigitalOcean	
  
–  Azure	
  
–  Google	
  Compute	
  Engine	
  
–  Rackspace	
  
–  OpenStack	
  
–  Virtualbox	
  
–  VMWare	
  Fusion	
  
–  VMWare	
  vSphere	
  
–  Hyperv	
  
Docker	
  Swarm	
  
§  Docker	
  Swarm	
  is	
  na?ve	
  clustering	
  for	
  Docker.	
  It	
  turns	
  a	
  pool	
  of	
  Docker	
  hosts	
  into	
  a	
  
single,	
  virtual	
  host.	
  
§  Has	
  support	
  for	
  etcd,	
  consul,	
  and	
  zookeeper	
  host	
  discovery	
  systems.	
  
§  Integra?ons	
  planned	
  with	
  Bluemix,	
  Mesos,	
  Kubernetes,	
  AWS,	
  Azure	
  
4/17/15	
   22	
  
Docker	
  Compose	
  
§  Compose	
  is	
  a	
  tool	
  for	
  defining	
  and	
  running	
  complex	
  applica?ons	
  with	
  Docker.	
  With	
  
Compose,	
  you	
  define	
  a	
  mul?-­‐container	
  applica?on	
  in	
  a	
  single	
  file,	
  then	
  spin	
  your	
  
applica?on	
  up	
  in	
  a	
  single	
  command	
  which	
  does	
  everything	
  that	
  needs	
  to	
  be	
  done	
  
to	
  get	
  it	
  running.	
  
4/17/15	
   23	
  
Defined	
  in	
  yaml:	
  
Designing	
  for	
  Docker	
  –	
  Applica?on	
  Design	
  
§  Because	
  of	
  Docker’s	
  design,	
  refactoring	
  may	
  be	
  needed	
  to	
  run	
  on	
  Docker	
  well.	
  
Cloud-­‐friendly	
  designs	
  principles	
  like	
  The	
  Twelve	
  Factor	
  App	
  and	
  Microservices	
  can	
  
enable	
  applica?ons	
  to	
  run	
  well	
  in	
  Docker	
  containers.	
  
4/17/15	
   24	
  
hop://marJnfowler.com/arJcles/microservices.html	
  
hop://12factor.net/	
  
hop://www.slideshare.net/adrianco	
  
Designing	
  for	
  Docker	
  –	
  Opera?on	
  System	
  Design	
  
§  Opera?ng	
  systems	
  are	
  being	
  redesigned	
  to	
  focus	
  on	
  running	
  containers.	
  Dubbed	
  
“Minimalist	
  OS”,	
  these	
  opera?ng	
  systems	
  offer	
  some	
  key	
  poten?al	
  benefits:	
  
–  Improved	
  security	
  through	
  smaller	
  a_ack	
  surfaces	
  and	
  isola?on	
  techniques	
  
–  Small	
  image	
  sizes	
  and	
  fast	
  start	
  up	
  ?mes	
  
–  Transac?onal	
  upgrade	
  and	
  rollback	
  op?ons	
  
	
  
§  Some	
  examples	
  of	
  these	
  minimalist	
  OSes	
  include:	
  
–  CoreOS	
  	
  
–  Red	
  Hat’s	
  Project	
  Atomic	
  
–  Ubuntu’s	
  Snappy	
  Ubuntu	
  Core	
  
–  RancherOS	
  
–  Microso^’s	
  Nano	
  Server	
  
4/17/15	
   25	
  
Architecture	
  of	
  RancherOS	
  
Docker	
  Challenges:	
  Networking	
  
§  Connec?ng	
  containers	
  within	
  the	
  same	
  host	
  isn’t	
  too	
  difficult	
  but	
  the	
  
complexity	
  grows	
  when	
  containers	
  need	
  to	
  communicate	
  across	
  hosts.	
  	
  
§  How	
  is	
  this	
  being	
  addressed:	
  
–  Service	
  Discovery:	
  
•  Docker	
  Swarm	
  
•  Etcd	
  
•  Consul	
  
•  Zookeeper	
  
–  So^ware	
  Defined	
  Networks	
  (SDN)	
  
•  Socketplane.io	
  (Docker	
  AcquisiJon)	
  
•  IBM’s	
  SDN-­‐VE	
  
•  Weave	
  
•  CoreOS’	
  Flannel	
  
4/17/15	
   26	
  
Docker	
  Challenges:	
  Lack	
  of	
  Enterprise	
  Features	
  
§  Enterprise	
  features	
  commonly	
  found	
  in	
  modern	
  virtualiza?on	
  planorms	
  
not	
  yet	
  available	
  in	
  Docker.	
  Features	
  such	
  as:	
  
–  Fine	
  Grained	
  Administra?on	
  Access	
  Control	
  
–  Live	
  Migra?on	
  of	
  Containers	
  
–  Backup	
  and	
  Restore	
  Op?ons	
  
–  Administra?on	
  Tools	
  for	
  Large	
  Scale	
  Deployments	
  
–  Support	
  for	
  Audi?ng	
  and	
  Logging	
  
–  Regulatory	
  Compliance	
  
	
  
§  Ac?ve	
  development	
  underway	
  to	
  address	
  these	
  gaps.	
  Major	
  enterprise	
  
technology	
  vendors	
  are	
  construc?ng	
  solu?ons	
  for	
  many	
  of	
  these	
  areas.	
  	
  
4/17/15	
   27	
  
Docker	
  Challenges:	
  Security	
  
§  Container	
  security	
  receiving	
  much	
  more	
  scru?ny	
  now	
  and	
  poten?al	
  
vulnerabili?es	
  are	
  receiving	
  a_en?on.	
  Areas	
  of	
  risk	
  include:	
  
–  Docker	
  Engine	
  daemon	
  runs	
  as	
  root	
  
–  Lack	
  of	
  encryp?on	
  op?ons	
  
–  Docker	
  API	
  endpoints	
  
–  Integrity	
  of	
  images	
  
–  Containers	
  may	
  be	
  able	
  to	
  execute	
  too	
  many	
  
system	
  calls	
  
–  Containers	
  may	
  have	
  access	
  to	
  file	
  system	
  
	
  
	
  
§  Coordinated	
  development	
  underway	
  to	
  address	
  these	
  issues.	
  
§  Concerns	
  especially	
  high	
  concerns	
  for	
  mul?-­‐tenant	
  deployments:	
  
–  “These	
  containers	
  aren't	
  secure.	
  They	
  don't	
  have	
  that	
  kind	
  of	
  isola?on.	
  They're	
  sharing	
  so	
  
much	
  of	
  their	
  underlying	
  opera?ng	
  system	
  that	
  they	
  can't	
  be	
  effec?vely	
  secured,	
  at	
  least	
  
not	
  to	
  the	
  kind	
  of	
  level	
  of	
  risk	
  that	
  we'd	
  be	
  comfortable	
  running	
  two	
  different	
  customers	
  
in	
  containers	
  side	
  by	
  side”	
  –	
  Microso^	
  Azure	
  CTO	
  Mark	
  Russinovich	
  
4/17/15	
   28	
  
Docker	
  Compe??on	
  Announcements:	
  CoreOS	
  
§  12/1/14	
  –	
  Announces	
  new	
  container	
  run?me	
  Rocket:	
  
–  CoreOS	
  claims	
  Docker	
  has	
  lost	
  sight	
  of	
  original	
  “standard	
  container”	
  
vision:	
  “Docker	
  now	
  is	
  building	
  tools	
  for	
  launching	
  cloud	
  servers,	
  
systems	
  for	
  clustering,	
  and	
  a	
  wide	
  range	
  of	
  func?ons:	
  building	
  images,	
  
running	
  images,	
  uploading,	
  downloading,	
  and	
  eventually	
  even	
  overlay	
  
networking,	
  all	
  compiled	
  into	
  one	
  monolithic	
  binary	
  running	
  primarily	
  as	
  
root	
  on	
  your	
  server”	
  
–  Requests	
  community	
  input	
  on	
  a	
  new	
  standard:	
  
•  App	
  Container	
  Image	
  
•  App	
  Container	
  RunJme	
  
4/17/15	
   29	
  
What’s	
  Next	
  for	
  Docker?	
  
§  04/14/2015	
  –	
  Docker	
  Raises	
  $95M	
  Series	
  D	
  Round	
  for	
  Its	
  Container	
  
Planorm	
  
	
  
§  Construc?ng	
  full	
  planorm	
  for	
  containers	
  	
  
§  Integra?ng	
  strategic	
  acquisi?ons	
  (Orchard,	
  Kitema?c,	
  SocketPlane)	
  
§  Adding	
  enterprise	
  features	
  through	
  partnerships	
  (IBM,	
  Amazon,	
  Google,	
  Red	
  Hat,	
  
VMWare,	
  Microso^,	
  etc.)	
  
§  Adding	
  support	
  for	
  Windows	
  Containers	
  through	
  Microso^	
  partnership	
  
§  Becoming	
  the	
  deployment	
  planorm	
  of	
  choice	
  for	
  microservices	
  
§  Mone?zing	
  images	
  and	
  containers	
  
4/17/15	
   30	
  
What’s	
  IBM	
  Doing	
  with	
  Docker	
  
§  Open	
  Source	
  Par?cipa?on:	
  
–  IBM	
  contributes	
  to	
  the	
  Docker	
  projects	
  (core	
  contributors)	
  
–  IBM	
  contributes	
  Docker	
  related	
  func?onality	
  to	
  other	
  projects	
  as	
  well	
  (OpenStack)	
  
	
  
§  New	
  Products/Offerings:	
  
–  IBM	
  Container	
  Service	
  on	
  Bluemix	
  (currently	
  in	
  Beta,	
  GA	
  planned	
  for	
  2Q15)	
  
–  IBM	
  Docker	
  Hub	
  Enterprise	
  Registry	
  (to	
  be	
  released	
  in	
  2Q15)	
  
	
  
§  Support	
  for	
  Docker	
  on	
  IBM	
  hardware:	
  
–  pSeries	
  Power	
  Systems	
  
–  zSeries	
  Mainframe	
  Systems	
  
	
  
§  Support	
  for	
  Docker	
  on	
  IBM	
  So^ware:	
  
–  UrbanCode	
  
–  PureApp	
  
–  WebSphere	
  
–  DB2	
  
4/17/15	
   31	
  
Ques?ons	
  
4/17/15	
   32	
  

Weitere ähnliche Inhalte

Was ist angesagt?

Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
Docker, Inc.
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Simplilearn
 

Was ist angesagt? (20)

Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
 
Docker
DockerDocker
Docker
 
Containerization and Docker
Containerization and DockerContainerization and Docker
Containerization and Docker
 
Docker in real life
Docker in real lifeDocker in real life
Docker in real life
 
Docker: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Hero
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker 101: An Introduction
Docker 101: An IntroductionDocker 101: An Introduction
Docker 101: An Introduction
 
Dockerfile
Dockerfile Dockerfile
Dockerfile
 
Docker 基礎介紹與實戰
Docker 基礎介紹與實戰Docker 基礎介紹與實戰
Docker 基礎介紹與實戰
 
Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Introduzione a Docker (Maggio 2017) [ITA]
Introduzione a Docker (Maggio 2017) [ITA]Introduzione a Docker (Maggio 2017) [ITA]
Introduzione a Docker (Maggio 2017) [ITA]
 
Docker presentation
Docker presentationDocker presentation
Docker presentation
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
 

Ähnlich wie Docker Overview - Rise of the Containers

IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM France Lab
 
Docker intro
Docker introDocker intro
Docker intro
spiddy
 

Ähnlich wie Docker Overview - Rise of the Containers (20)

Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
Docker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryDocker OpenStack Cloud Foundry
Docker OpenStack Cloud Foundry
 
SS Introduction to Docker
SS Introduction to DockerSS Introduction to Docker
SS Introduction to Docker
 
Docker, Cloud Foundry, Bosh & Bluemix
Docker, Cloud Foundry, Bosh & BluemixDocker, Cloud Foundry, Bosh & Bluemix
Docker, Cloud Foundry, Bosh & Bluemix
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Accelerate your development with Docker
Accelerate your development with DockerAccelerate your development with Docker
Accelerate your development with Docker
 
Accelerate your software development with Docker
Accelerate your software development with DockerAccelerate your software development with Docker
Accelerate your software development with Docker
 
IBM Container Service Overview
IBM Container Service OverviewIBM Container Service Overview
IBM Container Service Overview
 
Docker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker EcosystemDocker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker Ecosystem
 
Introduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyIntroduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of Technology
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
A Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using DockerA Shift from Monolith to Microservice using Docker
A Shift from Monolith to Microservice using Docker
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Webinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDBWebinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDB
 
Faster and Easier Software Development using Docker Platform
Faster and Easier Software Development using Docker PlatformFaster and Easier Software Development using Docker Platform
Faster and Easier Software Development using Docker Platform
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
 
Rackspace::Solve NYC - The Future of Applications with Ken Cochrane, Engineer...
Rackspace::Solve NYC - The Future of Applications with Ken Cochrane, Engineer...Rackspace::Solve NYC - The Future of Applications with Ken Cochrane, Engineer...
Rackspace::Solve NYC - The Future of Applications with Ken Cochrane, Engineer...
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Docker Overview - Rise of the Containers

  • 1. Docker  Overview  –     Rise  of  the  Containers    Ryan  Hodgin   @rhodgin   IBM  Cloud  –  Cloud  Innova?on   04/17/15  
  • 2. Agenda   §  Execu?ve  Summary   §  Where  does  Docker  fit  in  the  world  of  Servers  and  Hypervisors?   §  What’s  an  Applica?on  Container?   §  How  is  Docker  different?   –  What  is  a  Docker  image?   –  What  is  a  Docker  file?   –  What  is  a  Docker  registry?   §  How  popular  is  Docker?   §  What  is  the  performance  like?   §  What’s  Docker  working  on  now?   §  How  does  Docker  change  designs?   §  What  are  some  of  Docker’s  challenges?   §  What’s  next  for  Docker?   §  What  is  IBM  doing  with  Docker?   4/17/15   2  
  • 3. Docker:  Execu?ve  Summary   §  Background   –  Docker  provides  the  leading  applica?on  container  engine;  open  source  under   the  Apache  2.0  license   –  Enables  an  applica?on  image  to  be  constructed  with  its  run?me  dependencies   and  deployed  iden?cally  on  mul?ple  environments  without  modifica?on.   –  Version  1.0  announced  on  June  9th,  2014   –  Makes  use  of  technology  available  in  all  mainstream  Linux  distribu?ons   –  Referred  to  as  “Virtualiza?on  2.0”  due  to  its  removal  of  o^en  unnecessary   por?ons  of  hypervisors.     –  Containers  can  be_er  u?lize  hardware  resources  and  perform  be_er  than   tradi?onal  virtualiza?on.   –  Integrates  solu?ons  from  DevOps  community  to  improve  release  management   and  deployments.   –  Rapidly  growing  in  interest  and  usage  by  both  developers  and  system   administrators.   –   Docker  is  being  aggressively  adopted  by  many  key  tech  companies   •  Announcements  from  IBM,  Microso8,  Google,  Amazon,  VMWare,  Red  Hat,  etc..   –  Docker  Inc.  now  valued  at  more  than  $1B  with  latest  rounding  of  VC  funding.   4/17/15   3  
  • 4. Happy  Birthday  Docker!   4/17/15   4  
  • 5. Docker  Engine:  A  “Hypervisor”  for  Containers   4/17/15   5   Hardware   Hypervisor   Virtual  Machine   OperaJng   System   Bins  /  libs   App   App   Virtual  Machine   OperaJng   System   Bins  /  libs   App   App   Hardware   OperaJng  System   Container   Bins  /  libs   App   App   Container   Bins  /  libs   App   App   Hardware   OperaJng  System   Container   Bins  /  libs   App   App   Container   Bins  /  libs   App   App   CLI   REST  API   Dockerfiles   Type  1  Hypervisor   Linux  Containers   Docker   Conceptual  Mapping     VM  à  Container   Hypervisor  à  Docker  Engine  
  • 6. Containers  Aren’t  A  New  Concept   §  Containers  have  existed  for  years  in  the  Unix  world:   4/17/15   6   IBM  AIX  WPARs   Oracle  Solaris  Zones   BSD  Jails  
  • 7. Technology  for  Containers  Added  to  Linux   4/17/15   7   User  Space  Kernel  Space   Kernel   System  Call  Interface   Architecture  Dependent  Kernel  Code   GLIBC  /  Pseudo  FS  /  User  Space  Tools  &  Libs   Linux  Container  Tooling   Linux  Container  Commodi?za?on   Orchestra?on  &  Management   Hardware   cgroups   namespaces   chroots   LSM   lxc  
  • 8. Deployments  have  shi^ed  to  VMs  and  images   §  VMs  and  images  commonly  used  in  the  Cloud  world:   –  AWS  Xen  and  Amazon  Machine  Images   –  So^Layer  Xen  and  Standard/Flex  Images   –  Microso^  Azure  –  Customized  Hyper-­‐V  and  VM  Images   –  Google  Compute  Engine  –  KVM   –  OpenStack  -­‐  KVM   §  Similar  technologies  are  used  in  tradi?onal  data  centers:   –  VMWare  vSphere   –  Citrix  Xen   –  KVM   –  Microso^  Hyper-­‐V   4/17/15   8  
  • 9. Docker  Containers  vs.  Tradi?onal  VMs   §  Tradi?onal  VMs  include  wasted  resources  to  support  the  Guest  OS  while  Docker   makes  use  of  layering  to  share  common  OS  /  lib  por?ons  of  images.   4/17/15   9  
  • 10. What  is  a  container?   §  Modeled  on  the  success  of  shipping  containers,  an  applica?on  container  is   designed  to  contain  a  complete  deployment  unit  for  an  applica?on  to  allow  for   automa?on,  version  tracking,  and  rapid  deployment.   4/17/15   10  
  • 11. What  is  in  a  container?   §  Applica?on  deployments  have  focused  on  the  applica?on  binaries  and  relied  on   opera?ons  for  the  applica?on’s  dependencies  (Java  JRE,  Ruby  Gems,  Python,  App   Server,  etc.)   §  Docker  images  include  these  applica?on  dependencies  in  the  container  along  with  the   applica?on.   4/17/15   11   WAR  file  construcJon:   Docker  image  construcJon:  
  • 12. Docker:  Dockerfiles   §  Dockerfiles  document  how  to  construct  the  container  and  what  to  execute  when  it   is  running.   §  Normally  a  container  should  contain  a  single  process.   §  Dockerfiles  are  readable  and  maintainable  along  with  applica?on  source  code.   4/17/15   12  
  • 13. Docker:  Images,  Layers  &  Registries   4/17/15   13   The  layers  build  on  one  another  and  only  the  differences  are  stored  in  each  layer.    
  • 14. Docker:  Images,  Layers  &  Registries   4/17/15   14  
  • 15. DockerHub   4/17/15   15   Build   Ship   Run   Dev   QA   Source   Staging   Physical   Virtual   Cloud   Infrastructure  Management   Infrastructure  Management   DockerFile   Source  Code     Repository   TEST  TEST   TEST  TEST   TEST   GCE   RAX   IBM   Mac/Win  Dev   Machine   Boot2Docker   Docker   Analytics DB Prod  Machine   Linux  OS   Docker  Docker   ++   Users   Collab   Provenance   Policy   Docker  Hub   Registries   Public   Curated   Private   Docker  Hub  API   Third  Party  Tools   Prod  Machine   Linux  OS   Docker  Docker   Prod  Machine   Linux  OS   Docker  Docker   VM   Docker  Docker   VM   Docker  Docker   VM   Docker  Docker   QA  Machine   Linux  OS   Docker  Docker   §  Public  and  private  repositories  are  used  to  host  images.  
  • 16. Docker:  Open  Planorm   4/17/15   16   Any  App   Any  infrastructure   •  Physical   •  Virtual  cloud   +  65K  apps   +  50K  projects   API       Engine   Hub   cloud-­‐based  plagorm  services  for  distributed   applicaJons     API   open  source  so8ware  at  the  heart     of  the  Docker  plagorm    
  • 17. Docker:  Ecosystem   4/17/15   17   Official  Repos  &  65K+  Dockerized  Apps   Community   700+  Contributors   175+  Meetups  in  40  countries   2.75M  Downloads   50K  Projects  on  GitHub   Support   Enterprise  Support   Robust  DocumentaJon   ImplementaJon,  IntegraJon,  Training     Network  of  Partners   The  Docker  Planorm        Docker  Engine      Docker  Hub       Build,  Ship,  and  Run   Partners   Content   Users  
  • 18. Docker:  Adop?on   4/17/15   18   Docker  has  the  highest  buying  intenJon  score  of  any  enterprise  company     or  open-­‐source  project  in  six  years  of  tracking  by  research  firm     Enterprise  Technology  Research.  
  • 19. Docker:  Performance   §  Performance  comparison  with  KVM  by  IBM  Research  shows  near  bare  metal   performance  that  “equals  or  exceeds  KVM  performance  in  every  case  we  tested.”   §  See  full  report  at:   h_p://domino.research.ibm.com/library/cyberdig.nsf/papers/ 0929052195DD819C85257D2300681E7B/%24File/rc25482.pdf     4/17/15   19  
  • 20. DockerCon14  Europe  Announcements   §  At  its  event  on  12/4-­‐12/5,  Docker  announced:   –  Docker  Orchestra?on  Services   •  Adds  ability  to  assemble  mulJ-­‐container  applicaJons   •  Supports  any  infrastructure  (laptop,  private,  public  clouds,  etc.)   •  Manages  all  containers  of  an  applicaJon  as  a  single  group   •  Cluster  an  applicaJon’s  containers  for  HA  and  resource  opJmizaJon   •  Includes  three  new  services:   –  Docker  Machine  –  a  host  running  the  Docker  Engine   –  Docker  Swarm  –  a  Docker-­‐naJve  clustering  service  that  works  with  Docker  Engines  and  pools  their  resources  across   them   –  Docker  Compose  –  allows  for  applicaJon  assembly   –  Docker  Hub  Enterprise   •  Allows  for  Developers  to  create  mulJ-­‐container  distributed  applicaJons  behind-­‐the-­‐firewall.   •  Integrates  private  and  public  Docker  repositories.   •  Brought  to  market  by  IBM,  Amazon,  and  Microso8  as  part  of  broader  set  of  product  and  service   offerings.   •  Architected  for  high-­‐availability  and  horizontal  scalability   •  Planned  availability  in  2Q  2015   4/17/15   20  
  • 21. Docker  Machine   §  Machine  makes  it  really  easy  to  create  Docker  hosts  on  your  computer,  on  cloud   providers  and  inside  your  own  data  center.  It  creates  servers,  installs  Docker  on   them,  then  configures  the  Docker  client  to  talk  to  them.   4/17/15   21   §  Drivers  exist  for:   –  So^Layer   –  AWS   –  DigitalOcean   –  Azure   –  Google  Compute  Engine   –  Rackspace   –  OpenStack   –  Virtualbox   –  VMWare  Fusion   –  VMWare  vSphere   –  Hyperv  
  • 22. Docker  Swarm   §  Docker  Swarm  is  na?ve  clustering  for  Docker.  It  turns  a  pool  of  Docker  hosts  into  a   single,  virtual  host.   §  Has  support  for  etcd,  consul,  and  zookeeper  host  discovery  systems.   §  Integra?ons  planned  with  Bluemix,  Mesos,  Kubernetes,  AWS,  Azure   4/17/15   22  
  • 23. Docker  Compose   §  Compose  is  a  tool  for  defining  and  running  complex  applica?ons  with  Docker.  With   Compose,  you  define  a  mul?-­‐container  applica?on  in  a  single  file,  then  spin  your   applica?on  up  in  a  single  command  which  does  everything  that  needs  to  be  done   to  get  it  running.   4/17/15   23   Defined  in  yaml:  
  • 24. Designing  for  Docker  –  Applica?on  Design   §  Because  of  Docker’s  design,  refactoring  may  be  needed  to  run  on  Docker  well.   Cloud-­‐friendly  designs  principles  like  The  Twelve  Factor  App  and  Microservices  can   enable  applica?ons  to  run  well  in  Docker  containers.   4/17/15   24   hop://marJnfowler.com/arJcles/microservices.html   hop://12factor.net/   hop://www.slideshare.net/adrianco  
  • 25. Designing  for  Docker  –  Opera?on  System  Design   §  Opera?ng  systems  are  being  redesigned  to  focus  on  running  containers.  Dubbed   “Minimalist  OS”,  these  opera?ng  systems  offer  some  key  poten?al  benefits:   –  Improved  security  through  smaller  a_ack  surfaces  and  isola?on  techniques   –  Small  image  sizes  and  fast  start  up  ?mes   –  Transac?onal  upgrade  and  rollback  op?ons     §  Some  examples  of  these  minimalist  OSes  include:   –  CoreOS     –  Red  Hat’s  Project  Atomic   –  Ubuntu’s  Snappy  Ubuntu  Core   –  RancherOS   –  Microso^’s  Nano  Server   4/17/15   25   Architecture  of  RancherOS  
  • 26. Docker  Challenges:  Networking   §  Connec?ng  containers  within  the  same  host  isn’t  too  difficult  but  the   complexity  grows  when  containers  need  to  communicate  across  hosts.     §  How  is  this  being  addressed:   –  Service  Discovery:   •  Docker  Swarm   •  Etcd   •  Consul   •  Zookeeper   –  So^ware  Defined  Networks  (SDN)   •  Socketplane.io  (Docker  AcquisiJon)   •  IBM’s  SDN-­‐VE   •  Weave   •  CoreOS’  Flannel   4/17/15   26  
  • 27. Docker  Challenges:  Lack  of  Enterprise  Features   §  Enterprise  features  commonly  found  in  modern  virtualiza?on  planorms   not  yet  available  in  Docker.  Features  such  as:   –  Fine  Grained  Administra?on  Access  Control   –  Live  Migra?on  of  Containers   –  Backup  and  Restore  Op?ons   –  Administra?on  Tools  for  Large  Scale  Deployments   –  Support  for  Audi?ng  and  Logging   –  Regulatory  Compliance     §  Ac?ve  development  underway  to  address  these  gaps.  Major  enterprise   technology  vendors  are  construc?ng  solu?ons  for  many  of  these  areas.     4/17/15   27  
  • 28. Docker  Challenges:  Security   §  Container  security  receiving  much  more  scru?ny  now  and  poten?al   vulnerabili?es  are  receiving  a_en?on.  Areas  of  risk  include:   –  Docker  Engine  daemon  runs  as  root   –  Lack  of  encryp?on  op?ons   –  Docker  API  endpoints   –  Integrity  of  images   –  Containers  may  be  able  to  execute  too  many   system  calls   –  Containers  may  have  access  to  file  system       §  Coordinated  development  underway  to  address  these  issues.   §  Concerns  especially  high  concerns  for  mul?-­‐tenant  deployments:   –  “These  containers  aren't  secure.  They  don't  have  that  kind  of  isola?on.  They're  sharing  so   much  of  their  underlying  opera?ng  system  that  they  can't  be  effec?vely  secured,  at  least   not  to  the  kind  of  level  of  risk  that  we'd  be  comfortable  running  two  different  customers   in  containers  side  by  side”  –  Microso^  Azure  CTO  Mark  Russinovich   4/17/15   28  
  • 29. Docker  Compe??on  Announcements:  CoreOS   §  12/1/14  –  Announces  new  container  run?me  Rocket:   –  CoreOS  claims  Docker  has  lost  sight  of  original  “standard  container”   vision:  “Docker  now  is  building  tools  for  launching  cloud  servers,   systems  for  clustering,  and  a  wide  range  of  func?ons:  building  images,   running  images,  uploading,  downloading,  and  eventually  even  overlay   networking,  all  compiled  into  one  monolithic  binary  running  primarily  as   root  on  your  server”   –  Requests  community  input  on  a  new  standard:   •  App  Container  Image   •  App  Container  RunJme   4/17/15   29  
  • 30. What’s  Next  for  Docker?   §  04/14/2015  –  Docker  Raises  $95M  Series  D  Round  for  Its  Container   Planorm     §  Construc?ng  full  planorm  for  containers     §  Integra?ng  strategic  acquisi?ons  (Orchard,  Kitema?c,  SocketPlane)   §  Adding  enterprise  features  through  partnerships  (IBM,  Amazon,  Google,  Red  Hat,   VMWare,  Microso^,  etc.)   §  Adding  support  for  Windows  Containers  through  Microso^  partnership   §  Becoming  the  deployment  planorm  of  choice  for  microservices   §  Mone?zing  images  and  containers   4/17/15   30  
  • 31. What’s  IBM  Doing  with  Docker   §  Open  Source  Par?cipa?on:   –  IBM  contributes  to  the  Docker  projects  (core  contributors)   –  IBM  contributes  Docker  related  func?onality  to  other  projects  as  well  (OpenStack)     §  New  Products/Offerings:   –  IBM  Container  Service  on  Bluemix  (currently  in  Beta,  GA  planned  for  2Q15)   –  IBM  Docker  Hub  Enterprise  Registry  (to  be  released  in  2Q15)     §  Support  for  Docker  on  IBM  hardware:   –  pSeries  Power  Systems   –  zSeries  Mainframe  Systems     §  Support  for  Docker  on  IBM  So^ware:   –  UrbanCode   –  PureApp   –  WebSphere   –  DB2   4/17/15   31