O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting containers using Docker Compose

Docker Compose was previously called Fig, but Docker acquired Fig and the name was changed. This is how Docker describes Docker Compose:

"Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running."

Docker Compose basically gives us a way to define settings in a configuration file, so we don't have to remember all the names for all the containers when linking them together, the ports to expose, the data volume container to use, and so on.

Installing Docker Compose

Docker Compose has regular releases on GitHub, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required