FEI Bratislava 2017 - Docker

Post on 22-Jan-2018

64 views 0 download

transcript

Build, Ship, RunAn open platform for distributed applications for

developers and sysadminsAdam Štipák | @new_POPE | diagnose.me | rekurzia.sk

What is Docker?

Docker allows you to package an application with all of its dependencies into a standardized unit for software development.

How is this different from virtual machines?

Virtual machines Containers

How does this help you build better software?

● Accelerate Developer Onboarding● Empower Developer Creativity● Eliminate Environment Inconsistencies

● Distribute and share content● Simply share your application with others

Ship More Software Faster

● Ship 7X More● Quickly Scale● Easily Remediate Issues

Docker products

● Docker Engine● Docker Compose● Docker Machine● Docker Swarm● Docker Registry● and much more …

Docker Engine

$ docker

$ docker run hello-world

$ docker run debian:jessie bash

$ docker run -it debian:jessie bash

$ docker run -it -v $(pwd):/data debian:jessie bash

$ docker run -p 80:80 -v $(pwd):/usr/share/nginx/html nginx

Docker Engine - Dockerfile

Dockerfile is a text document. It is a blueprint for build your custom image.

FROM debian:jessieMAINTAINER adam@rekurzia.sk

RUN apt-get updateRUN apt-get install htop

Docker Compose

Docker Compose allows you to define your multi-container application with all of its dependencies in a single file …

docker-compose.y(a)ml

$ docker-compose

Docker Machine

Automate Docker provisioning

Supported Drivers: Amazon Web Services, Microsoft Azure, Digital Ocean, Google Compute Engine, Generic, Microsoft Hyper-V, OpenStack, Rackspace, Oracle VirtualBox, VMware

$ docker-machine create --driver=parallels foo

WebElementpravidelné stretnutie web developerov a ľudí zaujímajúcich sa o technológie súvisiace s vývojom webov.

organizujeme

¿¿¿ questions ???

Thank you!

Adam Štipák | @new_POPE | diagnose.me | rekurzia.sk