Docker Started
-
Upload
victor-s-recio -
Category
Technology
-
view
5.771 -
download
0
Transcript of Docker Started
Getting started with Docker
Victor S. RecioDocker Organizer Santo Domingo@vsrecio
Agenda
1. What is the Docker Platform?• Kitematic• Compose• Machine
2. Build, Ship and Run!
• Swarm• Registry• Engine
3. Demo!
What is the Docker Platform?
The Docker platform o Docker Toolbox is a set of Tools…
4
Each tool has a specific role
5
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
What are the Docker tools?
7
Kitematic & the Docker Toolbox
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
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
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
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
What are the Docker tools?
12
Docker Engine (what’s new in 1.9?)
Build, Ship and Run!The mission of the Docker Platform
Build, Ship and Run!
14
The mission of the Docker Platform
Open Source Projects for Work With Docker
16
Demo!Build a real application with the Docker Platform
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
Thank you!Victor S. RecioDocker Organizer Santo Domingo@vsrecio