<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 20, 2016, at 02:39, 디케이 <<a href="mailto:zuntong@gmail.com" class="">zuntong@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">Hi^^ </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">Recently, I first know about LXD and I have searched information with great interest. </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">(from articles, <a href="http://linuxcontainers.org/" target="_blank" class="">linuxcontainers.org</a>, ubuntu product page)</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">But, until now, There are some parts that I can't yet understand.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">That parts are very important for me. please anyswer my question below.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">thanks in advance.</span></font></p><div class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> </span></font><br class="webkit-block-placeholder"></div><div class=""><br class="webkit-block-placeholder"></div><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""><b class="">[Q1]</b> I read that "LXD container provides a full OS environment within container." </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> So I think that is one of the Point of Differences beween LXD and other containers.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> Of course I know that app container like a docker does not support full OS envinronment.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> But before announcing LXD, already LXC technology has existed. well known technology. </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <b class="">Before LXD, Does LXC have already provided full OS environment?? </b></span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> I know other container like solaris zone also supports.</span></font></p><p class=""><u style="background-color:rgba(255,255,255,0)" class=""><font size="2" class="">( I know that LXD uses LXC, However I want to distinguish beween LXD new features and LXC origin feautre that have continued to support before.)</font></u></p><div class=""><br class="webkit-block-placeholder"></div><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <b class="">Am I right? or wrong? </b></span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> If I am wrong, </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <b class="">What is the main reason that LXD provides a full OS environment in comparison with lxc and zone??</b></span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> except for functions like a multiple hosts, snapshots.... just focus on full OS environment.</span></font></p><div class=""><br class="webkit-block-placeholder"></div></div></blockquote><div><br class=""></div><div>LXD is actually a management tool wrapper around LXC. LXC is the one that provide you the full OS container. LXD come with remote management capabilities, while LXC itself can only manage local containers.</div><div><br class=""></div><div>So LXD is a LXC container manager. If you are familiar with VMware, you can think LXD as the VMSphere for LXC.</div><br class=""><blockquote type="cite" class=""><div class=""><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""><b class="">[Q2]</b> <b class="">where can I get LXD manual? I have found a just few "get started webpage"</b></span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> I want to get "how to configure resource management", </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> how to assign block device and volume, how to connect container to outside and about configuraiotn files...</span></font></p><div class=""><br class=""></div></div></blockquote><div><br class=""></div>As far as I know, there are very limited documentation for LXD and LXC, not even ebook. Following blog series maybe helpful to you:</div><div><br class=""></div><div><a href="https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/" class="">https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/</a></div><div><a href="https://www.flockport.com/tag/lxc-3/" class="">https://www.flockport.com/tag/lxc-3/</a></div><div><br class=""></div><div>Both Flockport and Stéphane Graber's blog are very informative. Flockport is a bit more up to date, while Stéphane’s blog is more organized.</div><div><blockquote type="cite" class=""><div class=""><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""><b class="">[Q3]</b> LXD container can not servcie itself by own funtion? </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <b class="">It means LXD container must use other tool like a SDN, openstack??</b></span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <u class=""> (Docker can uses unixsocket, tcpsocket for service with other hosts, Docker does not need SDN</u>)</span></font></p><div class=""><font size="2" class=""></font></div></div></blockquote><div>There is no LXD container. LXD manage LXC containers. LXD can be a standalone tools or work with Openstack, etc.</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> </span></font><br class="webkit-block-placeholder"></div><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""><b class="">[Q4] </b>All container technology use a host's kernel features (cgroup, namespace. etc...)</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> I know LXD also use host's kernel features. </span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> So VM like a virtubalbox, vmware can support better isolation and security than container.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> because VMs have own kernel and VMs does not share kernel resource.</span></font></p><p class=""><font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class=""> <b class=""> If so, How can LXD provide support better security and isolation than other container technology?? </b></span></font></p></div></blockquote>Though cgroup have been in development for over 5yrs(or more?), IMHO it is still a new technology. The reason is it hasn’t been heavily tested and used till Docker, LXC and systemd ngspawn become available.</div><div><br class=""></div><div>As with all technology, old or new, there will be bugs and security holes, and they will be fixed in time.<br class=""><blockquote type="cite" class=""><p class=""><b style="background-color:rgba(255,255,255,0)" class=""><font size="2" class=""> How can LXD be called linux hypervisor in comparison with other container(lxc, solaris zone)????.</font></b></p><p class=""><u style="background-color:rgba(255,255,255,0)" class=""><font size="2" class=""> ( I know that LXD uses LXC, However I want to distinguish beween LXD new features and LXC origin feautre that have continued to support before.)</font></u></p></blockquote><div>Again, as a simplified answer, LXC is comparable to Solaris Zone. They are both kernel level container, and the container use the host running kernel.</div><br class=""><blockquote type="cite" class=""><div class="">
_______________________________________________<br class="">lxc-users mailing list<br class=""><a href="mailto:lxc-users@lists.linuxcontainers.org" class="">lxc-users@lists.linuxcontainers.org</a><br class="">http://lists.linuxcontainers.org/listinfo/lxc-users</div></blockquote></div><br class=""></body></html>