Docker: First Steps

Contact us to book Docker: First Steps training.

Docker is a tool which makes it easier to create, deploy and run applications using containers. A container encapsulates a complete execution environment. As a result the container can be run on any hardware or operating system that supports Docker.

This course will teach you everything that you need to know to start using Docker.

Course Description

  • What is Docker?
    • Virtualisation
    • Docker versus VMWare and VirtualBox
    • Images and Containers
    • Daemon and Client
  • Using Images
    • Hello World - busybox
    • docker pull - fetch images
    • docker images - list fetched images
    • docker run - create a container
      • Naming a container (--name)
      • Handling cleanup (--rm)
      • Detach (--detach)
    • docker logs - output from containers
    • docker ps - list running containers
    • docker stop - stop running containers
    • docker rm - delete stopped containers
    • docker rmi - delete images we no longer need
  • Writing a Dockerfile
    • Layers and the Union File System
    • FROM - Specifying the base image
    • Tags
    • COPY - Copying things to the image
    • ADD - Another way to get stuff onto the image
    • RUN - Executing processes on the image
      • Using apt to add software
      • Asserting non-interactive mode
    • USER - Which user?
    • WORKDIR - Setting the working directory
    • EXPOSE - What ports are available?
    • CMD - What will the image be running?
  • Building an Image
    • docker build - build an image
    • Caching
    • Cleaning up temporary files
    • The build context and .dockerignore

Prerequisites

  1. Follow these instructions to install Docker.
  2. Create accounts on the following services:
  3. The UNIX Essentials course is useful for understanding some of the details of a Dockerfile.
Return to our list of courses.

Training Philosophy

Our training emphasises practical skills. So, although you'll be learning concepts and theory, you'll see how everything is applied in the real world. We will work through examples and exercises based on real datasets.

Requirements

All you'll need is a computer with a browser and a decent internet connection. We'll be using an online development environment. This means that you can focus on learning and not on solving technical problems.

Of course, we are happy to help you get your local environment set up too! You can start by following these instructions.

Package

The training package includes access to
  • our online development environment and
  • detailed course material (slides and scripts).

Contact us to book Docker: First Steps training.

Remote Training Available

We can provide remote training online, tailored to your specific needs.


Learn more