Open stuartpb opened 9 years ago
I think this actually needs some consideration more in the direction of making plugins work with non-Docker systems like Rocket.
Another advantage of hookifying Docker commands: this would allow the Docker management to replaced with another plugin that, rather than using Docker within the host, calls out to an external interface, allowing the Plushu setup itself to run inside a container under the same hypervisor alongside its apps (something @progrium thinks Dokku direly needs as part of its pending refactor, and I think is overrated but far from infeasible for Plushu).
See plushu/plushu#54
This lets alternative plugins provide different implementations of the Docker interface (JSHON+API calls!), and added plugins that hook into Docker events
TODO: Elaborate on this