Docker in 1 hour

13
Docker in 1 hour Ekalak Mint

Transcript of Docker in 1 hour

Page 1: Docker in 1 hour

Docker in 1 hour

Ekalak Mint

Page 2: Docker in 1 hour

Agenda

What’s Docker actually?

Learning Docker

Demo

Page 3: Docker in 1 hour

History of DockerOnce upon a time …

In 2013 in France a man called Solomon Hykes developed internal project with folks within dotCloud, a platform-as-a-service company. Docker represents an evolution of dotCloud's proprietary technology, which is itself built on earlier open-source projects such as Cloudlets.

Page 4: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

Containers vs. VMs Docker

Birthday#3 slide

Page 5: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

The Docker ecosystem

Dev Tools

Official Repositories

Operating Systems

Big Data

Service Discovery

Build / Continuous Integration

Configuration ManagementConsulting &Training

Management

Storage

Clustering & Scheduling

Networking

Infrastructure & Service Providers

Storage

Security

Monitoring & Logging

5

Docker

Birthday#3 slide

Page 6: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

Docker BasicsDocker ImageThe basis of a Docker container

Docker ContainerThe standard unit in which the application service resides

Docker Engine Creates, ships and runs Docker containers deployable on physical or virtual host locally, in a datacenter or cloud service provider

Docker RegistryOn-premises registry for image storing and collaboration

Docker

Birthday#3 slide

Page 7: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

Applications are changing

7

Loosely Coupled Services

Many Small Servers

~2000 Today

Monolithic

Big Servers

Slow changing

Rapidly updated

Docker

Birthday#3 slide

Page 8: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

The challenge: new matrix from hell

8

Virtual machines

Server Public Cloud

Disaster Recovery

Developer Laptop

Server Cluster

Data Center

Static Website

Web Front EndBackground Workers

User DB Analytics DB

Queue API Endpoint

Development Test & QA Production Scale Out

Docker

Birthday#3 slide

Page 9: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

Solution: Docker containers

9

• Packages up software binaries and dependencies• Isolates software from each other • Container is a standard format• Easily portable across environment• Allows ecosystem to develop around its standard

Container

Docker

Birthday#3 slide

Page 10: Docker in 1 hour

© 2013-2016 Docker, Inc. All rights reserved

Solution: Docker containers

10

Static Website

Web Front End

Background Workers

User DB

Analytics DB

QueueAPI Endpoint

Any App Anywhere

Composable Dynamic Portable

Docker

Birthday#3 slide

Page 11: Docker in 1 hour

Docker Toolbox

Page 12: Docker in 1 hour

10 Commands to get you up

1. docker pull2. docker images3. docker run4. docker info5. docker exec

6. docker logs7. docker ps8. docker rm9. docker rmi10. docker build

Page 13: Docker in 1 hour

Demo