[lxc-users] lxd preinstalled in images

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Sun May 15 15:16:37 UTC 2016


Thank you, that is very helpful!

-----"lxc-users" <lxc-users-bounces at lists.linuxcontainers.org> wrote: -----
To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
From: "Fajar A. Nugraha" 
Sent by: "lxc-users" 
Date: 05/14/2016 12:35
Subject: Re: [lxc-users] lxd preinstalled in images

On Sat, May 14, 2016 at 12:32 PM,  <david.andel at bli.uzh.ch> wrote:
Hi

I have just noticed that lxd is preinstalled in the official xenial image from cloud-images.ubuntu.com/releases.
What is the reason? 


Probably because it's basically the same image in various formats, so you'd get the same packages (http://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-amd64.manifest) 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.

 Is it really needed?
And is there any drawback if deinstalled (besides nesting)?


If you only want to launch a minimal xenial container, you can just run

lxc launch images:ubuntu/xenial/amd64 c1

... 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).

-- 
Fajar 
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160515/07ca6936/attachment.html>


More information about the lxc-users mailing list