<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 3:21 AM, Malawade, Abhijeet <span dir="ltr"><<a href="mailto:Abhijeet.Malawade@nttdata.com" target="_blank">Abhijeet.Malawade@nttdata.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am trying to use heat to create docker containers. I have configured heat-docker plugin.
<u></u><u></u></p>
<p class="MsoNormal">I am also able to create stack using heat successfully.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">To start container on different host we need to provide 'docker_endpoint' in template. For this we have to provide host address where container will run in template.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any way to schedule docker container on available hosts using heat-docker plugin without giving 'docker_endpoint' in template file.<u></u><u></u></p>
<p class="MsoNormal">Is heat-docker plugin supports managing docker hosts cluster with scheduling logic.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please let me know your suggestions on the same.<u></u><u></u></p>
<p class="MsoNormal"><br></p></div></div></blockquote><div><br></div><div>Zane's responses were correct. Effort is underway, planning the development of a containers service. This architecture of this service actually looks quite a bit like the Docker+Heat+Nova story, but simplified through a Nova-like API.  The spec for this is in progress: <a href="https://review.openstack.org/#/c/114044/">https://review.openstack.org/#/c/114044/</a></div>
<div><br></div><div>As for scheduling with Docker+Heat, one option is to use swarmd/libswarm. Unfortunately, this is an early-stage project, so it isn't quite an out-of-the-box solution; It's not "production-ready", but you're welcome to investigate it... The usage model with Heat would be to spawn your Nova instances not only with Docker, but with a connector to a libswarm server (swarmd). That swarmd process would need to be running an listening somewhere.  You'd need to load (and possibly write) plugins for libswarm/swarmd to provide your scheduling. Your docker_endpoint would be the IP/port of swarmd, and it would proxy those requests to the correct backend Docker hosts.</div>
</div><div><br></div>-- <br><div dir="ltr">Regards,<div>Eric Windisch</div></div>
</div></div>