Install Compose
1 | sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose |
Once installed compose can build your containers in order based on a docker-compose.yml file
The command must be run relative to the above file:
1 | #starts up the containers |
References
- https://docs.docker.com/compose/install/
- Jerome Petazzoni – http://container.training