Skip to content

Instantly share code, notes, and snippets.

@curiouslychase
Last active November 1, 2019 07:11
Show Gist options
  • Save curiouslychase/a8c62a791384708d7835 to your computer and use it in GitHub Desktop.
Save curiouslychase/a8c62a791384708d7835 to your computer and use it in GitHub Desktop.
Docker Self-Paced Training

Introduction to Docker

Self-Paced Training Url: Docker Self-Paced Training

πŸ“ denotes an exercise

Introduction

  • Agenda [1:50]
  • What Is Docker / Background / History? [2:25]
  • Benefits/Limitations of VMs [5:15]
  • Introducing Containers [6:52]

Docker Concepts & Terms

  • Docker & The Linux Kernel [10:05]
  • Installing Docker on Ubuntu [11:23]
  • Run first container & add user to docker group [12:25]
  • πŸ“ Install Docker Exercise [13:45]
  • Docker Daemon [14:30]
  • Docker Containers & Images [16:13]
  • Docker Hub (Registries & Repositories) [17:22]
  • Docker Orchestration [18:25]
  • Benefits of Docker [19:27]

Intro to Images

  • Search for Docker Images [20:45]
  • πŸ“ Create a Docker Hub Account
  • Display Local Images [25:40]
  • Image Tags [27:03]

Getting Started With Containers

  • Creating a Container [28:39]
  • πŸ“ Run a Simple Container [29:27]
  • Container with a Terminal [31:09]
  • πŸ“ Run a Container & get Terminal Access [34:10]
  • Container Processes [34:50*]
  • Container ID [37:30]
  • Running in Detached Mode [39:15]
  • πŸ“ List Your Containers Exercise [41:27]
  • A More Practical Container [41:49]
  • πŸ“ Run a Web Application Container [44:05]

Further Resources

  • Command Reference [44:40]
  • What's Next [45:15]

Docker Fundamentals

  • Agenda [2:19]

Building Images

  • Image Layers [3:00]
  • The Container Writable Layer [3:30]
  • Docker Commit [4:55]
  • πŸ“ Build New Image [7:20]
  • πŸ“ Use New Image [9:18]

Dockerfile

  • Intro to Dockerfile [9:30]
  • Dockerfile Instructions [10:45]
  • Run Instruction [11:30]
  • Docker Build [12:28]
  • πŸ“ Build from Dockerfile Exercise [19:05]
  • CMD Instruction [19:20]
  • πŸ“ Try CMD Exercise [23:30]
  • ENTRYPOINT Instruction [23:47]

Managing Images and Containers

  • Start and Stop Containers [26:10]
  • Getting Terminal Access [27:59]
  • Deleting Containers & Local Images [30:00]
  • Docker Hub Repositories [32:27]
  • Pushing Images to Docker Hub & Tagging Images [34:11]
  • πŸ“ Push to Docker Hub Exercise [38:08]

Volumes

  • Volumes [38:30]
  • Mount a Volume [39:24]
  • Volumes in Dockerfile [40:10]
  • Uses of Volumes [40:50]

Container Networking Basics

  • Mapping Ports [44:22]
  • Automapping Ports [46:04]
  • EXPOSE instruction [46:33]
  • Linking Containers [47:11]
  • Creating a Link [47:40]
  • Uses of Linking [50:34]
  • πŸ“ Link Two Containers Exercise [51:08]

Docker In Continuous Integration (51:28)

  • Traditional Continuous Integration [51:28]
  • Using Docker in CI [52:15]
  • Docker Hub Auto Build [52:55]

Further Resources

  • Command Reference [58:00]
  • What's Next [58:28]

Docker Operations

  • Agenda @2:15

Container Troubleshooting

  • Container logging @2:50
  • Container application logs @4:52
  • πŸ“ Check container logs @7:15
  • Inspecting a container @7:37
  • Starting and Stopping Docker daemon @9:48
  • Docker daemon upstart configuration file & logging @10:39
  • πŸ“ Setup daemon logging @13:38

Security

  • Linux Containers & Security [13:55]
  • Quick security considerations [15:38]
  • Further reading [17:00]

Private Registries

  • Private Registry [17:35]
  • Setting up a Private registry [18:52]
  • Push & Pull From Private Registry [20:15]
  • Further resources [26:45]

Intro to Docker Machine

  • Docker Machine Overview [27:35]
  • Installing Machine [29:49]
  • Creating a host [31:45]
  • Provisioning Hosts in the Cloud [32:43]
  • Docker Machine SSH [36:19]

Intro to Docker Swarm

  • What is Docker Swarm? [37:08]
  • How Swarm Works [38:05]
  • Setup Process (using hosted discovey) [39:51]
  • Installing & Running Swarm [40:40]
  • Create the Swarm Cluster [41:19]
  • Start the Swarm Manager [42:29]
  • Connect a Node tp the Cluster [43:25]
  • Connect the Docker Client to Swarm [48:23]
  • Verify the Docker Client [49:38]
  • Checking your Connected Nodes [50:05]
  • Run a Container in the Cluster [50:50]

Intro to Compose

  • What is Compose? [51:45]
  • Benefits of Compose [52:35]
  • Configuring the Compose YML File [53:25]
  • Build and Image Instruction [53:57]
  • Links [54:44]

Building Microservice Applications

  • Microservice Architecture [61:30]
  • Advantages of a Microservice Architecture [64:40]
  • Further Resources [66:40]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment