1 of 18

Intro To Docker

John Ptacek/@jptacek

Skyline Technologies/@SkylineTweets

That Conference, Aug 7, 2017

2 of 18

3 of 18

4 of 18

Agenda

What is Docker

Why Docker

Things

Demo Time!

Questions

5 of 18

What is Docker

Not a programing language

Not a framework for software

​

6 of 18

What is Docker

Virtualization Technology

  • Server -> VM -> PAAS -> Containers

Tool for Software

  • Installation
  • Removal
  • Upgrading
  • Distribution
  • Trusting
  • Managing

​

7 of 18

What is Docker

Automates setup/configuration development environments

The happy place for developers and infrastructure

Analogy for Shipping Containers

Native for Linux

Installs for OS X and Windows (www.docker.com)

​

​

8 of 18

What is Docker

At end of day, Plug In Software…. Not install software

​

​

9 of 18

Why Docker?

Resource Efficiency

26 to 1 Perf improvement over VM

Speed

Smaller Units, quicker build/deploy

Agile

Still virtualization. Ship Code containers (ship containers)

​

​

10 of 18

Why Docker?

Lightweight

Just Enough OS

Consistency

Portability and reproducibility. DockerFile, not Click

Works on my machine, then it works

Microsoft says so

​

​

​

11 of 18

Why Docker

SharePoint story

Environmental Drift

Cattle, not pets

​

​

12 of 18

Things

Containers are not virtualization we know of

Containers can be thought as shipping containers

Containers contain images

Images bundled snapshot

Images are deployable

​

​

​

​

13 of 18

Things

Compatibility between OSes

Think what the app store did for mobile… Think Multi-platform app store for developers

Finicky for OS X and Windows

Security by isolation from OS

​

​

​

​

14 of 18

Things

Images - Immutable file system with execution parameters

Containers - Instantiations of Images (running or inactive)

​

​

​

​

​

15 of 18

Demo Time!

​

​

​

​

​

16 of 18

Things

  • Docker Pull - pulls an image from docker hub
  • Docker run - runs an image
    • Docker -p port:port run - runs an image
  • docker images - list images
  • docker ps - list all of running containers.
    • Docker ps -a : List all containers
  • docker rm [image name/imageid] - deletes docker container
  • docker rmi [image name/imageid] - deletes docker image

​

​

​

​

17 of 18

18 of 18

Thank You!

​

John Ptacek/Skyline Technologies

@Jptacek

jptacek@SkylineTechnologies.com

http://www.jptacek.com