[lxc-users] Heavy LXD images
gwolf at gwolf.org
Wed Apr 13 15:16:41 UTC 2016
tapczan dijo [Wed, Apr 13, 2016 at 04:23:55PM +0200]:
> Building containers from default ubuntu LXD repository
> (https://cloud-images.ubuntu.com/releases) creates containers full of
> unnecessary components like eg.:
> - lxc
> - lxcfs
> - irqbalance
> - creating additional network interfaces lxcbr0
> I don't need all of those components inside a container. I need as
> minimal as possible container to build my stack on top of that.
> Is it possible to get really minimal ubuntu official images?
I always prefer to create my images on my own — Partly because of
their sheer size, as you say, and partly because I'm a control freak
I just sent another message to this same list showing the use of
Debootstrap to set up a Debian-based system; this will get you only
the base system installed.
What I currently have is a base image I created that way, adding the
packages I always want to have on the systems I administer that are
not part of the base install (such as screen, emacs, git, less), set
some site-wide configurations (i.e. my global user configuration), and
use that as the base image for my containers.
More information about the lxc-users