Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Docker Compose

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

docker-compose can be installed using the following command on Ubuntu.

wajig install docker-compose

And docker -compose can be installed using brew on macOS.

brew install docker-compose

Examples

version: '3'
services …