docker started

19
Getting started with Docker Victor S. Recio Docker Organizer Santo Domingo @vsrecio

Upload: victor-s-recio

Post on 16-Apr-2017

5.776 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Docker Started

Getting started with Docker

Victor S. RecioDocker Organizer Santo Domingo@vsrecio

Page 2: Docker Started

Agenda

1. What is the Docker Platform?• Kitematic• Compose• Machine

2. Build, Ship and Run!

• Swarm• Registry• Engine

3. Demo!

Page 3: Docker Started

What is the Docker Platform?

Page 4: Docker Started

The Docker platform o Docker Toolbox is a set of Tools…

4

Page 5: Docker Started

Each tool has a specific role

5

Page 6: Docker Started

What are the Docker tools?

6

1. Installs the Docker Platform from the Toolbox

2. Kitematic is a Native UI for Windows and Mac

3. Create containers in one click and inspect its logs

docker.com/docker-toolbox kitematic.com

Page 7: Docker Started

What are the Docker tools?

7

Kitematic & the Docker Toolbox

Page 8: Docker Started

What are the Docker tools?

8

Docker Machine

• Provides a CLI to quickly provision a Docker Host• Deploys locally or on a Cloud Provider

AWS, Azure, GCE, DO, Rackspace, VMWare, etc…

$ docker-machine create -d azure \

--azure-subscription-id="c4f51be3-784c-xxx-7c50ad9e1b7c" \

--azure-subscription-cert="/Users/sam/.ssh/docker-azure-cert.pem" \

--azure-location="East US" \

--azure-size=Small \

--azure-username="sam" \

sam-docker-machine-n

Page 9: Docker Started

What are the Docker tools?

9

Docker Compose

• Describe your stack with one file: docker-compose.yml• Run your stack in one command: `docker-compose up`

web:

build: .

command: python app.py

ports:

- "5000:5000"

volumes:

- .:/code

links:

- redis:redis

redis:

image: redis

Page 10: Docker Started

What are the Docker tools?

10

Docker Registry

• Store and distribute your docker container images

• Docker Hub makes it easy: hub.docker.com

$ docker login vsrecio$ docker pull ubuntu$ docker push vsrecio/myapp

Page 11: Docker Started

What are the Docker tools?

11

Docker Swarm

• Exposes several Docker Engines as a single virtual Engine• Serves the standard Docker API• Swarm is production ready

DockerCLI

Page 12: Docker Started

What are the Docker tools?

12

Docker Engine (what’s new in 1.9?)

Page 13: Docker Started

Build, Ship and Run!The mission of the Docker Platform

Page 14: Docker Started

Build, Ship and Run!

14

The mission of the Docker Platform

Page 15: Docker Started

Open Source Projects for Work With Docker

Page 16: Docker Started

16

Page 17: Docker Started

Demo!Build a real application with the Docker Platform

Page 18: Docker Started

Walkthrough Overview

18

We’re going to…

• Install Docker Toolbox

• Build & run a nodejs on Azure

• Build a simple Python web application with compose

• Install Rancher Platform

Page 19: Docker Started

Thank you!Victor S. RecioDocker Organizer Santo Domingo@vsrecio