Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Introduction to Docker Course

via Treehouse

Overview

Docker allows any developer of any language to package an app into a container, like a shipping container. Containers include an app and all the other software it depends on, like databases. Containers let your users easily run your website, app, or service on any operating system they want. This course will show you how Docker works, and how it can make it easier to distribute your software!

What you'll learn

  • Images and containers
  • Dockerfiles
  • Docker networking
  • Registries

Syllabus

Why Docker?

Docker bundles your app together with all the libraries and services it depends on into a package called a container, which can then be delivered as a single unit wherever it needs to go. In this stage, we'll look at how this powerful new paradigm can help you deliver software more easily.

Chevron 5 steps
  • Why this Course?

    3:15

  • Building an Image and Running a Container

    4:05

  • What is Docker?

    6:14

  • Why Should You Use Docker?

    3:50

  • What is Docker?

    4 questions

Fundamentals of Docker

In this stage, we'll take a closer look at how Docker works.

Chevron 4 steps
  • Virtual Machines versus Containers

    5:25

  • Building Blocks of Docker

    2:56

  • Docker Networking

    9:59

  • Building Blocks of Docker

    7 questions

Building Images Using Dockerfiles

Docker looks for a Dockerfile for instructions on how it should build an image. In this stage, we're going to learn about all the instructions you can include in a Dockerfile so that your image is configured just the way you want it.

Chevron 9 steps
  • Building Images Using Dockerfiles

    5:31

  • The FROM Instruction

    0:55

  • RUN Instructions

    1:46

  • The ENTRYPOINT and CMD Instructions

    3:12

  • WORKDIR, COPY, and ADD Instructions

    3:53

  • EXPOSE Instructions

    0:51

  • ENV Instructions

    3:12

  • USER Instructions

    4:00

  • Dockerfiles

    7 questions

Managing Images and Containers

Now that you know the basics of creating Docker images and containers, it probably won't be long before you build up a substantial collection. Let's look at some features Docker has provided to help you manage your images and containers.

Chevron 4 steps
  • Managing Images

    1:57

  • Managing Containers

    7:36

  • Docker Registries

    4:01

  • Docker Commands

    6 questions

Dockerizing a Web App

In this final stage, we'll take everything we've learned so far and Dockerize this simple Node.js web app.

Chevron 4 steps
  • Configuring the App

    4:05

  • Building the Image and Running the Container

    3:10

  • Next Steps

    1:29

  • Course Review

    8 questions

Taught by

Jay McGavren

Related Courses

Reviews

Start your review of Introduction to Docker Course

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free