Re: Bug#746394: Please consider shipping pre-built images in Debian packages
- To: Charles Plessy <firstname.lastname@example.org>
- Cc: email@example.com, firstname.lastname@example.org
- Subject: Re: Bug#746394: Please consider shipping pre-built images in Debian packages
- From: Olivier Berger <email@example.com>
- Date: Tue, 29 Jul 2014 15:30:01 +0200
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <20140507234810.GB5347@falafel.plessy.net> (Charles Plessy's message of "Thu, 8 May 2014 08:48:10 +0900")
- References: <20140429163834.10462.11341.reportbug@gyllingar> <20140429174644.GA31120@helios.pault.ag> <536004B5.email@example.com> <20140430182114.GA26081@alice.nomadium.lan> <CAPPd46QzEUFtc7SGiVYLP+xuVwqzjQ=-TXf14cq5+Fx5M+E2UQ@mail.gmail.com> <CAMcOGXHjnkkNOq=0QwMTNSNr9yhB5yDbW4OVR_ZD6Che-KQGfQ@mail.gmail.com> <CAPPd46TvWFfXGhv+rm+joL9bdfA3o1AJhhbEhn25qx9WXCWSvw@mail.gmail.com> <20140507234810.GB5347@falafel.plessy.net>
Charles Plessy <firstname.lastname@example.org> writes:
> One reason why bootstrap-vz exists is that broader frameworks such as
> Debian-Installer have more constraints and are harder to learn and maintain.
> In particular, Debian-Installer does not run as a simple command that prepares
> a tarball on a user's hard drive; it is a minimal Debian system that runs
> by itself.
> But I think that attempts to build larger frameworks than bootstrap-vz will end
> up re-inventing an installer for Debian. So for a Grand Unification I
> recommend to work on Debian-Installer directly.
With respect to docker (in the context of #746394), I think that the
providing of images should be much lighter than what the Debian
installer usually does.
AFAIU, docker containers are meant to be very lightweight, compared to
installing on real hardware, and whereas it would be sad to reinvent the
wheels the d-i is already providing, I think that much of its work is to
detect hardware and configure appropriately, which is completely useless
in the context of docker, since there's no hardware emulation, no real
virtual machine, just a chroot-like container (LXC based), at least in
the usual use of docker containers based on LXC running over Linux.
So bootstrap-vz running debootstrap is probably much of what we need for
a bootstrap-vz Docker provider, I guess (and the devil which is in the
Hope this makes sense.
Olivier BERGER <email@example.com> - OpenPGP: 5819D7E8
Ingénieur Recherche - Dept INF - T&MSP (http://www.it-sudparis.eu)