Docker Compose
Get Compose | Read Docs | Contribute to Compose
Define and run multi-container applications
Pulling image redis...
Building web...
Starting composetest_redis_1...
Starting composetest_web_1...
redis_1 | [8] 02 Jan 18:43:35.576 # Server started,
Redis version 2.8.3
web_1 | * Running on http://0.0.0.0:5000/
$ |
Distributed applications are made up of many small applications that work together. Docker turns these applications into individual containers that are linked together. Instead of having to build, run and manage each individual container, Docker Compose is a tool that allows you to define your multi-container application and all of its dependencies in single file, then spin your application up in a single command. Changes to your application can be managed from the file and files are easily shared with others for collaboration.