docker in a nutsell

Post on 15-Jan-2015

707 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

A quickie presentation on Docker basics, commands, and use cases.

TRANSCRIPT

Docker in a Nutshell

Presented by Aater Suleman, PhD

Docker Austin MeetupJuly 3rd, 2014

Presenter:Aater Suleman, PhD

Co-founder & CEO Flux7

Faculty, University of Texas at Austin

Flux7: Cloud and DevOps Solutions

Cloud and Devops for Web teams

Enterprise DevOps management

Clients:Partners:

★ Front-end HTML/JS developers★ Backend developers★ Operations folks ★ DevOps★ Managers/executives

Quick Poll

HOW MANY?

★ Enterprise ( > 1B in cap )★ Mid-tier ★ SMBs

Quick Poll

HOW MANY?

Docker

What Why

Provides Isolation-

Lightweight

Portable

Build Once,

Configure Once,

Run Anywhere

functionality

Docker Elements & Components

Basic Terminologies

Container: Self-contained environment built using one or more images.

Images can be created based on the committed containers

Repository: Set of images on local Docker or Registry server

Basic Terminologies

Layers: Docker images are layer. Think of each layer as each git commit.

Image: is like a virtual machine image

Docker Commands

Basic Commands

docker pull Pull pre-built image from the public repos

docker run Run the container in one of 3 modes: Background, Foreground, Interactive

docker logs View the current state of the running job

docker commit Save the container state as an image

docker images Obtain a list of all images

More Docker Commands

docker diff List of changes in files and directories (one of the powerful commands Docker provides)

docker build Build docker images from Dockerfiles

docker inspect Low-level information about containers and images

docker attach Interact with running containers

docker kill Kill the main process of the container

Must-know Docker Features

DockerFile

Automates Image creation process

Set of instructions to create an image

General DockerFile commands’ syntax:

INSTRUCTION argument

Docker Hub

Centralized Management of

User Accounts

Image Checksums

Public and Private Docker Repositories

Docker Use Cases

Real World Use Cases

Putting Docker to use

Simplifying Configuration

Developer Productivity

Multi-Tenancy

Server Consolidation

App Isolation

Code Pipeline Management

Debugging Capabilities

Rapid Deployment

Take Aways

Innovation: Easier to Innovate when cost of being wrong is low

Continuity: Organizational ownership of operations knowledge - very

valuable for business continuity.

Faster Iteration: High fidelity and confidence in Dev and QA means

means faster iteration of product

Docker Resources

Docker Case Studies & Blogs:

http://flux7.com/docker/

Thank You!Twitter: @Flux7Labs

Website: www.flux7.com

top related