Reputation: 6121
So suppose I have a machine and I need this machine to be able to work in three modes: A, B, C.
In mode A it should run one set of processes. In mode B - another set of processes. And in mode C it should run both sets.
The modes should be chosen dynamically from the web interface.
Upvotes: 0
Views: 51
Reputation: 32156
Install programs needed by A and B, and supervisor
http://docs.docker.com/articles/using_supervisord/
tweak supervisor, so that according to some event, presence of file somewhere, value of an environment variable or any other event, you run either A, B, or C.
Upvotes: 1