June 12, 2018

Docker Compose Intro

^ Ad space to help offset hosting costs :D

Let's start building a docker-compose.yml file so we can manage our Docker environment more easily.

Docker Compose lets us manage the life cycle of our Docker environment, including Volumes, Networks, and of course helping us manage multiple containers that can work together.

We'll start defining some simple thing in our docker-compose.yml file:

version: '3'
services:
networks:
  appnet:
    driver: bridge
volumes:
  dbdata:
    driver: local
  cachedata:
    driver: local

In the next video we'll begin to fill out the services section, where we define our containers.

Looking for a deeper dive into Docker?

Sign up here to get a preview of the Shipping Docker course! Learn how to integrate Docker into your applications and develop a workflow to make using Docker a breeze!

Current

Docker Compose Intro

All Topics