Skip to Content
Introduction to Docker Compose
on-demand course

Introduction to Docker Compose

with Sean P. Kane
March 2022
Intermediate
2h 37m
English
O'Reilly Media, Inc.
Closed Captioning available in German, English, Spanish, French, Japanese, Korean, Portuguese (Portugal, Brazil), Chinese (Simplified), Chinese (Traditional)

Overview

Containers are often advertised as solving a multitude of problems relating to delivering and maintaining highly available software in the always-on, global environment that most organizations must serve today, but how can they actually help you? What problems are you actually experiencing that can be solved with containers and its closely related technologies?

After becoming comfortable with container basics, most organizations will want to start putting them to use in their development workflow, and even the most traditional monolithic application relies on at least one additional service, like a database. So, how can developers quickly, and reliably spin up a set of fully-configured containerized services on their local system?

This class will introduce you to a tool called Docker Compose and teach you everything that you need to know about how to write a shareable docker-compose.yaml file that defines a set of related services which can be repeatably launched and torn down as needed.

What you’ll learn and how you can apply it

By the end of this course, you’ll understand:

  • How to use Docker Compose to significantly simplify your ability to repeatedly launch complex multicontainer service clusters in local development environments

And you’ll be able to:

  • Craft a working docker-compose.yaml file to enable repeatable deployments of complex inter-dependent services.
  • Launch Docker compositions that can easily stand up complex inter-dependent services for local testing.
  • Control, modify, and debug individual services
This course is for you because…
  • You need to understand how to simplify local development for engineers working with complex systems.

Prerequisites

  • Basic comfort with the Unix command line is helpful.
  • Comfort working with Docker images and containers.

Recommended preparation:

  • A modern computer and OS
  • Recent Linux, OS X, or Windows 10
  • root/admin rights
  • CPU Virtualization extensions MUST be enabled in your BIOS/EFI
  • Reliable and fast internet connectivity
  • Docker Desktop or Engine (Community Edition)
  • Linux users need to also install Docker Compose, separately.
  • A graphical web browser
  • A text editor
  • A software package manager
  • Git client
  • General comfort with the command line will be helpful.
  • Optionally, have the following command-line tools installed: tar, wget, curl, jq, and an SSH client
  • Introduction to Docker images (live online training course with Sean Kane)
  • Introduction to Docker containers (live online training course with Sean Kane)

Recommended follow-up:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Introduction to Docker CI/CD

Introduction to Docker CI/CD

Sean P. Kane
Docker: Up & Running, 2nd Edition

Docker: Up & Running, 2nd Edition

Sean P. Kane, Karl Matthias

Publisher Resources

ISBN: 0636920668824