[Lxc-users] lxc-ubuntu: lefotover cached package files
Serge Hallyn
serge.hallyn at canonical.com
Thu Aug 16 13:57:49 UTC 2012
Quoting Fajar A. Nugraha (list at 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
More information about the lxc-users
mailing list