0% found this document useful (0 votes)
3K views

1 Docker Deep Dive m1 Slides PDF

This document introduces a Docker Deep Dive course. The course will cover Docker containers, the Docker engine, Docker images, and Docker containers. Specific topics will include containers versus virtual machines, kernel namespaces and cgroups, Docker execution drivers, image storage drivers like AUFS and Device Mapper, the docker build, images, and inspect commands, container lifecycle commands, and additional topics like registries, volumes, and networking. The only prerequisites are basic computer knowledge and access to one or two Linux machines, which could be virtual machines.

Uploaded by

mostafahassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views

1 Docker Deep Dive m1 Slides PDF

This document introduces a Docker Deep Dive course. The course will cover Docker containers, the Docker engine, Docker images, and Docker containers. Specific topics will include containers versus virtual machines, kernel namespaces and cgroups, Docker execution drivers, image storage drivers like AUFS and Device Mapper, the docker build, images, and inspect commands, container lifecycle commands, and additional topics like registries, volumes, and networking. The only prerequisites are basic computer knowledge and access to one or two Linux machines, which could be virtual machines.

Uploaded by

mostafahassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Docker Deep Dive

Course Introduction

Nigel Poulton
@nigelpoulton | www.nigelpoulton.com
$  docker  inspect  web1  
...  .  .  .  
 "NetworkSettings":  {  
               "Bridge":  "docker0",  
               "Gateway":  "172.17.42.1",  
               "IPAddress":  "172.17.0.31",  
               "IPPrefixLen":  16,  
               "MacAddress":  "02:42:ac:11:00:1f",  
               "PortMapping":  null,  
               "Ports":  {  
                       "80/tcp":  [  
                               {  
                                       "HostIp":  "0.0.0.0",  
                                       "HostPort":  "49166"  
                               }  
                       ]  
               }  
 

$  docker  port  web1   $  docker  ps  


 
80/tcp  -­‐>  0.0.0.0:5001   CONTAINER  ID      IMAGE                COMMAND                              CREATED          STATUS        PORTS                                    NAMES  
  5ecf560f391e      img:latest      "apache2ctl  -­‐D  FOREG    6  hrs  ago      Up  6  hrs    0.0.0.0:5001-­‐>80/tcp      web  
1c8b2b26e9fa      ubuntu:15.04  "/bin/bash"                      8  hrs  ago  Up  8  hrs                                                      rcvr  
a073d44bf842      img:latest      "apache2ctl  -­‐D  FOREG    8  hrs  ago  Up  8  hrs        80/tcp                                  src  
 
What We’ll Learn
Linux Containers
•  Containers vs Virtual Machines << FIGHT!!
•  Kernel namespaces, cgroups, Capabilities…

Docker Engine
•  Execution Driver: libcontainer vs LXC
•  AUFS, OverlayFS, Device Mapper…

Docker Images
•  docker  build  |  docker  images  |  docker  inspect…  
•  Union mounts, Layering, Dockerfile

Docker Containers
•  docker  start|stop|restart  

Registries, Volumes, Networking….


Prerequisites
•  Basic computer knowledge •  1 – 2 Linux machines
•  Do not need to be a Linux (can be VMs)
expert!
@nigelpoulton
@nigelpoulton

You might also like