mooc-notes

Notes from online courses

View on GitHub

Managing Applications with Docker Compose - Cloud Academy course by Logan Rakai

Intro

Part 1 - Course Introduction

Prerequisites

Agenda

Learning Objectives


Part 2 - Docker Compose Overview

Agenda

In a world without Docker Compose

Docker Compose

Docker Compose Parts

  1. Compose file
  2. CLI

Compose Files

Recap


Docker Compose Parts

Part 3 - How to Create Docker Compose Files Using Yaml

Agenda

YAML

YAML vs. JSON

Root elements

Compose File Version
Compose File Services
Compose File Service Caveats
Compose File Dependencies

Because compose supports multi-container applications there are additional args that don’t correspond to docker run commands:

Compose File Volumes
Compose File Networks
Special Topics: Variable Substitution
Special Fields: Extension Fields

Part 4 - Features and Commands of Compose CLI

Agenda

Compose CLI Features

Usage

Commands


Managing Applications

Part 5 - Deploying and Configuring a Web Application with Compose

Example


Part 6 - Building in Compose

How to get a similar development experience as Docker with DC?

Compose File build key


Part 7 - How Compose handles and combines multiple files

How about when code is ready for production?

Multiple Compose Files

Production considerations


Summary

Part 8 - Summary