<div dir="ltr"><div>Okay I will give a try adding the stack user to docker group and adding error message if it fails due to 127.0.0.1.<br><br></div>Also will file a bug report for the same.<br><div class="gmail_extra"><br clear="all">
<div>Best <span></span><span></span>Regards,<br>Swapnil<br></div>
<br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 9:53 PM, Eric Windisch <span dir="ltr"><<a href="mailto:ewindisch@docker.com" target="_blank">ewindisch@docker.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>@Eric, At the same time, I had to update /home/dstack/devstack/lib/nova_plugins/hypervisor-docker to include sudo for all docker commands. I think that could be one change we would need in docker and a documentation update for not using 127.0.0.1. I will create a bug and will submit a patch with the changes. Do you agree with this?</div>

</blockquote><div><br></div></div><div>You can alternatively add the 'stack' user to the 'docker' group, this is preferable to using sudo. I agree a bug report should be filed, if it isn't there already. </div>

<div><br></div><div>I'm thinking that the docker driver can simply warn or exit if HOST_IP is set to 127.0.0.1 as the error that is received currently is certainty not obvious enough.</div></div><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br>
<div dir="ltr">Regards,<div>Eric Windisch</div></div>
</font></span></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>