Git repos, but for Docker containers ! Docker Hub ! Like GitHub ! 1000s of base images, incl. most popular services ! Publish your own.. ! Build: docker build -t myreg/mycontainer . ! 'Ship': docker push myreg/mycontainer ! Run: docker run myreg/mycontainer
7 ! separation of concerns between teams ! developers: everything inside the box ! ops: everything outside the box ! streamlines the development - deployment cycle
multiple instances of your app ! Dev env looks like a cloud ! Sharing of Docker images ! No nasty installations - just Docker & Git ! Same development environment across whole team Docker for Devs 8
Containers work across cloud providers Docker for Ops 9 Database Web App 1 Web App 2 Message Broker Load Balancer Analytics Job Server ! Easy colocation - apps are isolated on the server
environment maps the production environment Docker - Nett Benefits 10 DB App App Server MQ LB App App Job Server Job MQ LB DB €€ ! Better utilisation of limited server resources
Encapsulate in a Docker container ! Deploy it on a server ! Spin up more instances ! Dockerfile: ! Uses community NodeJS image ! Adds our source code ! Installs dependencies ! Defines start command “I’ll believe it when I see it" 11