Overview

Why not combine with content from our UNIX Scripting course.

Docker is the world’s leading software containerisation platform. In this course you’ll learn all the fundamentals of using Docker, working through practical exercises creating images, deploying containers and managing a multi-service application.

Outline

Introduction

  • Containers vs Virtual Machines
  • Linux containers
  • Kernel namespaces and cgroups
  • Introduction to the Docker ecosystem
  • The Docker Daemon and runc
  • Docker command-line tools

Images

  • Writing Docker files
  • Setting up the file system - FROM, RUN and COPY
  • Setting up the service - ENTRYPOINT, CMD
  • Configuring network interfaces - EXPOSE
  • Understanding layering
  • Building images
  • Tagging images
  • Managing images - list, search and remove
  • Managing registries

Containers

  • Creating and running containers
  • Starting, stopping and listing containers
  • Running in the foreground or detached
  • Naming and referencing containers
  • Limiting resources - CPU, memory etc
  • Understanding command-line options

Building Applications

  • Docker Swarm and Building services
  • The Twelve Factor Application
  • Configuring docker networks
  • Logging and monitoring
  • Debugging

Requirements

Delegates should have previous experience with UNIX or Linux command line interfaces. This course could be combined with an additional 1 day UNIX primer.