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

docker for web developers

Yas
April 30, 2019

docker for web developers

Slides for my talk about docker for web developers. This talk is a demo heavy one and slides are just for intro and some benefits

Yas

April 30, 2019
Tweet

More Decks by Yas

Other Decks in Programming

Transcript

  1. For (web) developers
    Docker

    View full-size slide

  2. Lead consultant at Readify
    Yaser Adel Mehraban
    @yashints

    View full-size slide

  3. 1 What is docker

    View full-size slide

  4. “Running isolated
    containers on OS to
    make app deployments
    easier”

    View full-size slide

  5. Physical Server
    Host OS (win, linux, etc)
    Hypervisor (VMWare, HyperV)
    Guest
    OS
    Bins
    /Lib
    App
    Guest
    OS
    Bins
    /Lib
    App
    Guest
    OS
    Bins
    /Lib
    App
    VM
    Physical Server
    Host OS (win, linux, etc)
    Bins/Lib
    App
    A
    App
    A
    Bins/Lib
    App
    B
    App
    B
    App
    B
    Container

    View full-size slide

  6. A set of instructions to tell
    docker how to build an
    image
    DOCKERFILE
    Your host operating system
    (i.e. linux or windows)
    Host
    Starting point, including your
    app bundle, and possibly
    other libs to run
    Image
    Compose is a tool for
    defining and running multi
    container Docker apps
    Docker compose
    A running image
    Container
    Terminology

    View full-size slide

  7. Minimising the difference between
    your local and prod
    Big win for local dev
    What makes it special?
    Thousands of ready to go
    containers
    Big community

    View full-size slide

  8. Various processes on different
    containers will give you the ability
    to implement least privilege
    (exposing the ports you need to
    etc)
    Security
    What else?
    Containers create isolated
    processes, great for running
    different versions of libs (node,
    python, etc)
    App isolation

    View full-size slide

  9. Docker lets you configure your app
    on top of the infrastructure real
    easy, decoupling it from app env
    Easy config
    Even more?
    Setting up environments is super-
    easy. Faster tests, means fastser
    feedback cycles
    Simplified testing

    View full-size slide

  10. Days Hours Minutes Minutes
    Minutes Minutes Seconds < Minute
    Seconds Minutes Seconds Seconds
    Rapid development
    Ships
    within …
    Virtual
    Machine
    Container
    Bare
    Metal
    Manual
    deployments
    takes …
    Automatic
    deployments
    takes …
    Boots in …

    View full-size slide

  11. @yashints
    Any questions?
    Thanks!

    View full-size slide