Mano Marks

Docker Compose and Networking: Easy, secure apps at scale

  When we released Docker 1.10 and Docker Compose 1.6 on February 4th, we provided you with an easy way to build a fully featured and scalable app. It’s amazing what you can do with just one simple file. I am constantly impressed what a docker-compose up gets you now. Networks and Volumes are now first class citizens of Docker Compose. That gives you a lot of control, allowing you to for instance put individual services on more than one network, and easily share volumes.

Aanand Prasad

Compose 1.6: New Compose file for defining networks and volumes

In the previous version of Docker Engine we added a completely new system for managing networks and volumes, and we’re pleased to announce full support for these features in Docker Compose. Compose files used to describe just one thing: the services that make up your distributed application. We’ve now added networks and volumes to the mix, allowing you to describe much more complex applications. You can set up your app on your development machine with multiple network tiers and complex storage configurations, replicating how you might set it up in production. You can then take that same configuration from development, and use it to run your app on CI, on staging, and right through into production.