Quoting Fajar A. Nugraha (l...@fajar.net):
> Creating a container with "lxc-create -t ubuntu" on ubuntu 12.04 amd64
> currently results in over 300MB root filesystem.  However, almost
> 100MBs of it are cached package files (/var/cache/apt/archives/*).
> Running "apt-get clean" freed it.
> 
> Is there a particular reason to keep the package files after container 
> creation?

Hm.  Well I personally actually do end up using those often - I create a
container; quickly build a new version of a package; do a test;  re-install
from /var/cache/apt/archives to do another test;  etc.

But that's not to say mine shouldn't be a special case, with the default
being to save space.  Do you mind opening a bug against the ubuntu package
for that?  (http://pad.lv/u/lxc)  I've got another small template fix to
push anyway.  (I'll post the patch to lxc-devel when done.)

Thanks for the suggestion.

-serge

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to