Just a doc to show how you can drive docker using Kevoree Models@runtime frmaework.
Just download the kevoree watchdog from here
Download the followinf kev script file docker.kevs
This file contains the following configuration for your distributed deployement, currently just deploying an nginx docker container.
add host : DockerNode/5.1.0 add host.nginx : DockerNode/5.1.0 add sync : WSGroup/5.1.0 attach host sync set host.commitRepo = 'heads' set host.nginx.image = 'nginx' set sync.master = 'host'
Next, you can run the watchdog
java -Dnode.name=host -Dnode.bootstrap=docker.kevoree.kevs -jar org.kevoree.watchdog-0.27.jar 5.1.0
Next, you can open the running model from the kevoree editor.
File -> open from Node -> Pull model
From the editor, you can integrate other docker nodes in the model in setting the name of the docker image and the parameters of the current images.
It also exists some docker images for Kevoree Java platform and Kevoree NodeJs platform to reconfigure the apps inside the containers. https://registry.hub.docker.com/repos/kevoree/
Have fun, more docs are available on http://www.kevoree.org
Sorry, no comments enabled for now because I'm using a simple static site generator (maybe I'll try out disqus another day).
But if you like what you see, send me an email.