<p>Docker lacks the native ability of scheduling one-shot jobs. This project written in go aims to solve this problem.
You can run your one-shot jobs either as simple containers or in a swarm. Jobs can be scheduled with a cron syntax or can be exposed through an API.
The project is still in pre-pre-alpha and should not be used in production! Feedback and contributions are highly appreciated!</p>
<p><a href="https://github.com/palicao/docker-executor" rel="nofollow">https://github.com/palicao/docker-executor</a></p>
<hr/>**评论:**<br/><br/>whizack: <pre><p>this looks very similar to <a href="https://www.nomadproject.io/" rel="nofollow">https://www.nomadproject.io/</a> what is this attempting to accomplish that nomad, marathon, or k8s can't?</p></pre>palicao: <pre><p>Compared to all the other solutions I've seen so far my project is much more simple: you don't need to install anything, just write a config file and mount it into a container.
That said, of course this is just a very small pet project I wrote in a weekend and is not comparable with the tools you mentioned which are complete solutions.
So if you are not just playing around, I highly suggest you to go with one of the solutions you mentioned!</p></pre>