I was looking to use Docker's swarm mode as a distributed container orchestration solution but using custom orchestration strategies/algorithms. Using the official nomenclature, what I want to modify is the scheduler. Is this possible? Does Docker offer any kind of hook/plugin system to define your own algorithms?
NOTE: I've found this question in SO that asks the same question about the old Docker Swarm (standalone) but the only link offered does not apply to the new Docker swarm mode.