<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Thank you, that is very <span>helpful!<br></span><br><font color="#990099">-----"lxc-users" <lxc-users-bounces@lists.linuxcontainers.org> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: LXC users mailing-list <lxc-users@lists.linuxcontainers.org><br>From: "Fajar A. Nugraha" <list@fajar.net><br>Sent by: "lxc-users" <lxc-users-bounces@lists.linuxcontainers.org><br>Date: 05/14/2016 12:35<br>Subject: Re: [lxc-users] lxd preinstalled in images<br><br><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, May 14, 2016 at 12:32 PM,  <span dir="ltr"><<a href="mailto:david.andel@bli.uzh.ch" target="_blank">david.andel@bli.uzh.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hi<br><br>I have just noticed that lxd is preinstalled in the official xenial image from <a href="http://cloud-images.ubuntu.com/releases" target="_blank">cloud-images.ubuntu.com/releases</a>.<br>What is the reason? </font></blockquote><div><br></div><div><br></div><div>Probably because it's basically the same image in various formats, so you'd get the same packages (<a href="http://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-amd64.manifest">http://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-amd64.manifest</a>) in (for example) ec2 and lxd image. And I imagine canonical wants you to be able to use lxd out of the box on ec2 and other clouds.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Is it really needed?<br>And is there any drawback if deinstalled (besides nesting)?<br><br></font></blockquote><div><br></div><div>If you only want to launch a minimal xenial container, you can just run</div><div><br></div><div>lxc launch images:ubuntu/xenial/amd64 c1<br></div><div><br></div><div>... which would give you a much smaller container. About 80MB image, resulting in around 400MB filesystem, roughly half the size of official cloud image. It doesn't even have kernel or ssh installed (and of course, no lxd either). Run 'lxc image list images:' to get the list of available images (and their size).</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div> <div><font face="Courier New,Courier,monospace" size="2">_______________________________________________<br>lxc-users mailing list<br>lxc-users@lists.linuxcontainers.org<br><a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></font></div></lxc-users-bounces@lists.linuxcontainers.org></list@fajar.net></div></div><div></div></font>