<div dir="ltr"><div><br></div>It seems that the most common way to deploy Docker is by mapping ports out of the private IP addresses into the local host's public IP, which means it's completely analogous to multiple processes in the same host. Even when assigning the docker container to an external IP, a commonly recommended practice is to use -p <public ip>:<public port>:<internal port>, which means the public IP is sitting on the external host. E.g.:<div><br></div><div><a href="http://stackoverflow.com/questions/26539727/giving-a-docker-container-a-routable-ip-address" target="_blank">http://stackoverflow.com/<wbr>questions/26539727/giving-a-<wbr>docker-container-a-routable-<wbr>ip-address</a></div><div><br></div><div>That also maps exactly to just asking the process bind to the particular IP.</div><div><div><div> </div></div></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 26, 2017 at 11:12 AM, Mark Shuttleworth <span dir="ltr"><<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Well, from an *external* point of view, all the docker mysql processes<br>
are the same, on the same port, just with different IP addresses. That's<br>
the very nice property of docker for "hyper-elastic" workloads. I don't<br>
think snaps will be useful in that context, unless snaps find a way to<br>
live inside docker containers, but that's OK since snaps are useful in<br>
other contexts.<br>
<div class="m_9028606398561762770HOEnZb"><div class="m_9028606398561762770h5"><br>
Mark<br>
<br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>