Introduction to Docker

Overview

This course provides an introduction to containers, and a conceptual and architectural overview of Docker. The course also introduces attendees to the process of creating images and containers using Docker Hub.

 

Audience Developers, Platform Operators, IT Professionals, any individual looking for a solid introduction to Docker.
Delivery Method Instructor led (classroom or on-site for up to 20 attendees).
Length 1 day
Language English
Prerequisites None
Required Materials Laptop with an internet connection (for participation in lab activities)

Objectives

Attendees who successfully complete this course will be able to:

  • Explain containers and images
  • Describe the architecture of Docker and its different components
  • Create, configure and run Docker containers and use Docker Hub
  • Build custom images from existing containers and Dockerfiles

Description

Although our instructor-led courses may be customized to specific training needs, this course typically consists of the following:

Module 1: Docker Basics

This module introduces the basic constructs of containers and Docker primitives.

Typical Lesson Plan:

  • Containers vs. Virtual Machines
  • The different Components of the Docker Platform
  • The Docker Hub
  • Why Docker?

Lab:Installing Docker

Module 2: Docker Images and Builds

This module covers general architecture of Docker and preparation for container deployment.

Typical Lesson Plan:

  • Docker Images
  • Docker Directives
  • Docker Network
  • Managing Volumes
  • Best Practices of Writing Dockerfiles

Instructor-led Demonstration: Creating a Docker Image and Using Dockerfile

Module 3: Docker Commands

This module covers the different commands used to create/manage images and containers.

Typical Lesson Plan:

  • Starting and Stopping Docker
  • Getting Containers Information
  • Managing Images
  • Pushing and Pulling Images to/from Docker Hub
  • Creating and Managing Containers

Lab: Containerizing an application

Required Materials

Attendees who wish to participate in the lab sections of this course should bring a laptop with internet access; the instructor will provide access to a Docker training environment. As determined by available resources, attendees may be asked to work in pairs or groups for portions of this course.