10 things you need to know about Docker

Andrew T. Baker

Blog:

http://www.andrewtorkbaker.com

 

Twitter:

@andrewtorkbaker

 

Docker Hub:

atbaker

What is Docker?

Docker.com says

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.

Docker Engine

A portable, lightweight runtime and packaging tool

Docker Hub

A cloud service for sharing applications and automating workflows

Less portable, minimal overhead

Most portable,
lots of overhead

Manual
configuration

Traditional VMs

CM tools

Docker

1

Containers vs. Virtual Machines

2

One process
per container

(mostly)

3

Don't install SSH
Use                          

docker exec

docker exec

Runs a new command inside an existing container

$ docker exec -it c05aa7baf600 bash
root@c05aa7baf600:/#
docker exec [OPTIONS] CONTAINER COMMAND [ARG...]

4

Don't use containers in only one environment

5

Use the official
Docker Library images

6

Keep an eye out for Docker integrations

Source: Docker tweet

7

Avoid hosting service-specific dependencies

Cloud-agnostic hosting

8

Check out container-specific hosting services

Container-specific hosting

Container-specific hosting

Container-specific hosting

9

Figure out the
right time for you

2014

  • Get to 1.0 (production-ready)
  • Establish partnerships
  • Round out some rough edges (v1.3)

2015

  • Make Docker easier to use
  • Popularize best practices for scaling
  • "Include more batteries" (w/o cannibalizing ecosystem)
  • Address security concerns

A new player

10

Stay up to date

Docker Weekly

Questions

10 things you need to know about Docker

By Andrew T. Baker

10 things you need to know about Docker

The slides for my O'Reilly webcast

  • 1,847