<div dir="ltr">Hi not sure how far up the learning curve you're starting, but if you're looking for something that helped me from baby steps, I found these videos - they are from the prior lxc- implementation, but the concepts were similar.<div><br></div><div><a href="https://www.youtube.com/watch?v=2EwFkOrZ7I8">https://www.youtube.com/watch?v=2EwFkOrZ7I8</a></div><div><br></div><div>Here also is a bash script I put together to start a container with nodejs installed, with a host folder mounted and a static ip address for local development. There is undoubtedly a more elegant way to do this (I was curious about doing some of this in the seeding files, but hadn't figured that out and this worked), but you can see how the interfaces.d and resolv.conf files are updated.<br></div><div><br></div><div><a href="https://gist.github.com/CalebEverett/aef682acf6988bbc44d9d8196f222355">https://gist.github.com/CalebEverett/aef682acf6988bbc44d9d8196f222355</a><br></div><div><br></div><div>Also, after you do the initial init, you have to explicitly tell LXD that you want it to listen over the network. There are a couple of keys that make that happen:</div><div><br></div><div>Check out "networking configuration" under "More Daemon Configuration" in this post:</div><div><br></div><div><a href="https://www.stgraber.org/2016/03/15/lxd-2-0-installing-and-configuring-lxd-212/">https://www.stgraber.org/2016/03/15/lxd-2-0-installing-and-configuring-lxd-212/</a><br></div><div><br></div><div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 4:12 PM, Dan Kegel <span dir="ltr"><<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What's the best overview of lxd networking? is it still<br>
<a href="https://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/" rel="noreferrer" target="_blank">https://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/</a><br>
?<br>
<br>
I would expect<br>
<a href="https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/" rel="noreferrer" target="_blank">https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/</a><br>
to have an lxd networking page, but it doesn't so far.<br>
<br>
I haven't had much luck using lxd-init to set up working networking;<br>
the containers I create do get IP addresses, but end up with empty<br>
/etc/resolv.conf files<br>
and can't ping. Nor can I ssh into them, even though openssh-server<br>
is installed.<br>
<br>
Sigh. It's like lxd is a book by Nabokov, and the jokes are all going<br>
over my head.<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>