January 2017
Intermediate to advanced
284 pages
6h 8m
English
Once your images are built, you need to tell Docker how to run them. Docker Engine is limited in allowing you to define how containers work together. The Docker project provides a solution called Docker Compose. Docker Compose is a great tool for testing out deployments, defining how containers will interact or what external storage they need, or even as a lightweight orchestration tool.
Installing Docker Compose is easy. For Windows and OS X users, docker-compose installs as part of the Docker Toolbox and Docker for Mac and Windows. For Linux users, docker-compose can be downloaded from the Docker repository on GitHub. The following command from the Docker Compose documentation shows you how:
# curl -L https://github.com/docker/compose/releases/download/1.8.0 /docker-compose-`uname ...Read now
Unlock full access