[lxc-users] lxd preinstalled in images

Fajar A. Nugraha list at fajar.net
Sat May 14 10:35:12 UTC 2016

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160514/6579ad35/attachment-0001.html>

More information about the lxc-users mailing list