Afrimadoni the power of docker

20
The Power Of DOCKER

Transcript of Afrimadoni the power of docker

The Power Of

DOCKER

Duis autem vel eum iriure dolor in hendrerit in

•Afrimadoni Dinata (Doni) •Senior software engineer

@mataharibiz •Zend Certified Engineer

(ZCE) •Interested in web

development

http://rumbia.id

Development Process

Developer Q.A Production

The Battles Begin ….

where is my

product ?

what took you so long ?

bugs..bugs..bugs

Because client is the king

What developer needs ?

Production like

Focus on feature

Quick

Reproduce-able

Developer Q.A Production

Docker solve problems

What is docker ?

Docker allows you to package an

application with all of its dependencies into

a standardized unit for software

development.

Analogy

Docker containers wrap up a piece of software in a complete

filesystem that contains everything it needs to run: code, runtime, system tools, system libraries –

anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.

Docker Architecture

Docker Images

•Read-only template

•Contain several applications

•Used to create docker container

Docker Containers

•Launched from docker images

•Can be run, started, stopped, deleted

•One image create multiple container

Docker Registries / Distribution

•Images repository

•Docker hub is public docker registry

•Able to push and pull image

•Store your own custom image

Docker Workflow

Installation

https://docker.com/toolbox

Docker Machine Tools to install docker engine on virtual hosts and manage the hosts

Docker Engine Lightweight runtime and robust tooling that builds and runs your Docker containers. Runs on linux.

Docker Compose A tool for defining and running multi-container Docker applications

Kitematic GUI for docker

Demo Usage

The advantage

• Build once run anywhere

• Development, test and production environment

consistency

• Isolated container

• No worry about missing dependencies

• Multiple application testing in many php version

• Continuous Integration / Continuous Delivery

Docker CI Pipeline

• CI/CD as standard for modern software testing and delivery

• Docker accelerate system provisioning • Reduce job time • Increase volumes of jobs run • Flexibility in language stacks • Improve overall infrastructure utilization

Thank You