Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Comment Docker révolutionne le web

Avatar for ubermuda ubermuda
October 29, 2014

Comment Docker révolutionne le web

Avatar for ubermuda

ubermuda

October 29, 2014
Tweet

More Decks by ubermuda

Other Decks in Technology

Transcript

  1. Qu'est-ce que Docker À quoi ça sert Comment ça marche

    Pourquoi on l'aime Limitations Cas d'utilisation
  2. Docker is an open platform for developers and sysadmins to

    build, ship, and run distributed applications. ” https://www.docker.com/whatisdocker/
  3. Un système de container pour livrer n'importe quel code, n'importe

    où*. * Pour certaines definitions de n'importe où.
  4. LXC is a userspace interface for the Linux kernel containment

    features. ” https://linuxcontainers.org/
  5. $  docker   Usage:  docker  [OPTIONS]  COMMAND  [arg...]    -­‐H=[unix:///var/run/docker.sock]:

     tcp:// host:port  to  bind/connect  to  or  unix://path/to/ socket  to  use   A  self-­‐sufficient  runtime  for  linux  containers.   Commands:   ...
  6. $  docker  run  busybox  ls   bin   dev  

    etc   home   lib   lib64   linuxrc   ...
  7. $  docker  run  -­‐it  debian:wheezy  /bin/bash   Unable  to  find

     image  'debian:wheezy'  locally   Pulling  repository  debian   61f7f4f722fb:  Download  complete   511136ea3c5a:  Download  complete   638fd9704285:  Download  complete   root@6c0009adf3c0:/#
  8. $  docker  run  -­‐it  debian:wheezy  /bin/bash   Unable  to  find

     image  'debian:wheezy'  locally   Pulling  repository  debian   61f7f4f722fb:  Download  complete   511136ea3c5a:  Download  complete   638fd9704285:  Download  complete   root@6c0009adf3c0:/#
  9. $  docker  run  -­‐it  debian:wheezy  /bin/bash   Unable  to  find

     image  'debian:wheezy'  locally   Pulling  repository  debian   61f7f4f722fb:  Download  complete   511136ea3c5a:  Download  complete   638fd9704285:  Download  complete   root@6c0009adf3c0:/#
  10. $  docker  run  -­‐it  debian:wheezy  /bin/bash   Unable  to  find

     image  'debian:wheezy'  locally   Pulling  repository  debian   61f7f4f722fb:  Download  complete   511136ea3c5a:  Download  complete   638fd9704285:  Download  complete   root@6c0009adf3c0:/#
  11. $  docker  run  -­‐it  debian:wheezy  /bin/bash   Unable  to  find

     image  'debian:wheezy'  locally   Pulling  repository  debian   61f7f4f722fb:  Download  complete   511136ea3c5a:  Download  complete   638fd9704285:  Download  complete   root@6c0009adf3c0:/#
  12. $  docker  run  -­‐it  debian:wheezy  /bin/bash   ...   root@6c0009adf3c0:/#

     apt-­‐get  install  -­‐y  nginx   root@6c0009adf3c0:/#  exit   $  docker  commit  6c0009adf3c0  nginx   $  docker  run  -­‐it  nginx  /bin/bash
  13. $  docker  run  -­‐it  debian:wheezy  /bin/bash   ...   root@6c0009adf3c0:/#

     apt-­‐get  install  -­‐y  nginx   root@6c0009adf3c0:/#  exit   $  docker  commit  6c0009adf3c0  nginx   $  docker  run  -­‐it  nginx  /bin/bash
  14. $  docker  run  -­‐it  debian:wheezy  /bin/bash   ...   root@6c0009adf3c0:/#

     apt-­‐get  install  -­‐y  nginx   root@6c0009adf3c0:/#  exit   $  docker  commit  6c0009adf3c0  nginx   $  docker  run  -­‐it  nginx  /bin/bash
  15. $  docker  run  -­‐it  debian:wheezy  /bin/bash   ...   root@6c0009adf3c0:/#

     apt-­‐get  install  -­‐y  nginx   root@6c0009adf3c0:/#  exit   $  docker  commit  6c0009adf3c0  nginx   $  docker  run  -­‐it  nginx  /bin/bash
  16. $  docker  run  -­‐it  debian:wheezy  /bin/bash   ...   root@6c0009adf3c0:/#

     apt-­‐get  install  -­‐y  nginx   root@6c0009adf3c0:/#  exit   $  docker  commit  6c0009adf3c0  nginx   $  docker  run  -­‐it  nginx  /bin/bash
  17. FROM  debian:wheezy   ENV  DEBIAN_FRONTEND  noninteractive   RUN  apt-­‐get  update

     -­‐y   RUN  apt-­‐get  install  -­‐y  nginx   CMD  ["/usr/bin/nginx",  "-­‐g",  "'daemon  off;'"]
  18. Damien Mathieu @dmathieu 12 factor app, bonnes pratiques pour développer

    des applications puissantes et scalables Demain, 10h30 http://www.blendwebmix.com/schedule/12-factor-app-bonnes-pratiques-pour-developper-des-applications-puissantes-et-scalables/
  19. ...

  20. Projet interne à dotCloud mars 2013 libcontainer DockerCon + 1.0

    Docker 1.3 OpenSource 13 mars 2013 9-10 juin 16 octobre
  21. RedHat 10 juin Rachat de Orchard 40M$ Series C Microsoft

    Google 23 juillet 16 septembre 15 octobre 19 sept. 2013
  22. Continuous Integration Platform as a Service Distributed Applications Composition Continuous

    Integration Platform as a Service Easy Application Deployment