Top Banner
Docker in a Nutshell Presented by Aater Suleman, PhD Docker Austin Meetup July 3rd, 2014
19

Docker in a Nutsell

Jan 15, 2015

Download

Technology

Flux7

A quickie presentation on Docker basics, commands, and use cases.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Docker in a Nutsell

Docker in a Nutshell

Presented by Aater Suleman, PhD

Docker Austin MeetupJuly 3rd, 2014

Page 2: Docker in a Nutsell

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:

Page 3: Docker in a Nutsell

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

Quick Poll

HOW MANY?

Page 4: Docker in a Nutsell

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

Quick Poll

HOW MANY?

Page 5: Docker in a Nutsell

Docker

What Why

Provides Isolation-

Lightweight

Portable

Build Once,

Configure Once,

Run Anywhere

functionality

Page 6: Docker in a Nutsell

Docker Elements & Components

Page 7: Docker in a Nutsell

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

Page 8: Docker in a Nutsell

Basic Terminologies

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

Image: is like a virtual machine image

Page 9: Docker in a Nutsell

Docker Commands

Page 10: Docker in a Nutsell

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

Page 11: Docker in a Nutsell

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

Page 12: Docker in a Nutsell

Must-know Docker Features

Page 13: Docker in a Nutsell

DockerFile

Automates Image creation process

Set of instructions to create an image

General DockerFile commands’ syntax:

INSTRUCTION argument

Page 14: Docker in a Nutsell

Docker Hub

Centralized Management of

User Accounts

Image Checksums

Public and Private Docker Repositories

Page 15: Docker in a Nutsell

Docker Use Cases

Real World Use Cases

Page 16: Docker in a Nutsell

Putting Docker to use

Simplifying Configuration

Developer Productivity

Multi-Tenancy

Server Consolidation

App Isolation

Code Pipeline Management

Debugging Capabilities

Rapid Deployment

Page 17: Docker in a Nutsell

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

Page 18: Docker in a Nutsell

Docker Resources

Docker Case Studies & Blogs:

http://flux7.com/docker/

Page 19: Docker in a Nutsell

Thank You!Twitter: @Flux7Labs

Website: www.flux7.com