remind101 / empire

A PaaS built on top of Amazon EC2 Container Service (ECS)
BSD 2-Clause "Simplified" License
2.69k stars 158 forks source link

Support Docker native backend #886

Open ejholmes opened 8 years ago

ejholmes commented 8 years ago

Docker 1.12 brings an experimental feature to deploy a bundle describing the tasks to run. Conveniently, this manifest looks an awful lot like scheduler.App.

This is pretty cool, because it means we can add a pure Docker backend in probably < 100 lines of code.

ejholmes commented 8 years ago

I spiked into a little PoC implementation tonight: https://github.com/remind101/empire/compare/docker-native

Pretty cool, and works well just using it locally. In an actual production environment, I think managing the Docker services via something like CloudFormation/Terraform would be better, to avoid listing services and using labels to filter.