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

Docker 101

Mario David
January 07, 2016

Docker 101

Introduction to Docker for Softwarekskammer Lübeck (in german)

Mario David

January 07, 2016
Tweet

More Decks by Mario David

Other Decks in Technology

Transcript

  1. Docker 101
    Mario David | @mariomddavid

    View Slide

  2. Mario

    View Slide

  3. What’s the problem? #1
    ssh [email protected]
    # …
    db2 create tools catalog catalog1 use existing tablespace
    user32Ksp in database toolsdb

    View Slide

  4. What’s the problem? #1
    Cofiguration drift
    Reproduzierbarkeit
    ssh [email protected]
    # …
    db2 create tools catalog catalog1 use existing tablespace
    user32Ksp in database toolsdb

    View Slide

  5. What’s the problem? #2
    ssh [email protected]
    # …
    vi /usr/local/tomcat/conf/server.xml
    # …
    tomcat7 restart

    View Slide

  6. What’s the problem? #2
    Sicherheit
    ssh [email protected]
    # …
    vi /usr/local/tomcat/conf/server.xml
    # …
    tomcat7 restart

    View Slide

  7. What’s the problem? #3
    HTTP
    Reverse Proxy
    DB
    DB
    SAN
    Logging
    Backup
    Switch
    DNS
    HTTP
    USV
    Monitoring
    www.katzenfreunde-forum.de

    View Slide

  8. What’s the problem? #3
    HTTP
    Reverse Proxy
    DB
    DB
    www.katzenfreunde-forum.de
    DNS
    HTTP
    Auslastung
    SAN
    Logging
    Backup
    Switch
    USV
    Monitoring

    View Slide

  9. Lösungen

    View Slide

  10. Hypervisor
    App
    OS
    App
    OS
    App
    OS

    View Slide

  11. View Slide

  12. “It’s all about the application...”
    Würden wir die Anwendung ohne OS laufen lassen?

    View Slide

  13. bit.ly/docker-einfuehrung
    Thread Prozess Container VM Hardware
    Pro Maschine Performance
    -
    +
    Isolation
    +
    -

    View Slide

  14. Was ist Docker? - Beispiel für Container-Virtualisierung
    Solaris Zones
    OpenVZ
    LPAR
    ...eigentlich nur eine alte Idee: Segmentierung
    Marketing Technogisch
    lightweight Hypervisor VM shared Linux Kernel
    Isolation Namespaces
    Ouality of Service Cgroups
    FreeBSD Jails
    LXC
    OS
    App
    Userspace
    App
    Userspace
    App
    Userspace

    View Slide

  15. Was ist Docker? - Zur rechten Zeit am rechten Ort
    Accessibility
    Cloud
    DevOps
    Docker Hub
    Community

    View Slide

  16. Docker Engine

    zentrale Laufzeitumgebung der Container

    ist einzige Abhängigkeit des Service

    ermöglicht Portabilität

    no Emulation Layer

    ~ no Performace Impact
    Dev == Test == Staging == Production

    View Slide


  17. Talk is cheap, show me the code

    View Slide

  18. Ökosystem
    Development
    bit.ly/docker-oekosystem
    Orchestrierung
    Docker Machine
    Kubernetes
    Docker Swarm
    Docker Comopse
    Mesossphere
    Panamax
    Vagrant
    Windows Nano Server
    OS
    CoreOS VMWare Photon
    Snappy Ubuntu Core Cloud
    Amazon AWS ECS
    Rackspace
    Azure
    Google Compute Engine
    Hypriot
    ...
    ...
    ...
    ...

    View Slide

  19. weitere Ressourcen...
    bit.ly/docker-einfuehrung | bit.ly/docker-oekosystem
    road-to-cuba-and-beyond.com/put-a-island-into-a-box-how-to-dockerize-your-cuba-app/
    pluralsight.com/courses/docker-deep-dive
    pluralsight.com/courses/docker-fundamentals

    View Slide