Re: [vserver] Application containers

From: Nirmal Guhan <vavatutu_at_gmail.com>
Date: Thu 10 Jun 2010 - 19:39:14 BST
Message-ID: <AANLkTimdxd7QYU1S-Ky2e4wn2QCh5csuvOG9sdDHCSaM@mail.gmail.com>

On Thu, Jun 10, 2010 at 11:20 AM, Michael S. Zick <mszick@morethan.org>wrote:

> On Thu June 10 2010, Nirmal Guhan wrote:
> > On Thu, Jun 10, 2010 at 3:16 AM, Jon Bendtsen <jbendtsen@laerdal.dk>
> wrote:
> >
> > > On 10/06/2010, at 04.32, Nirmal Guhan wrote:
> > >
> > > > Hi,
> > > >
> > > > Does vserver provide any method for application virtualization (for
> > > instance, lxc can create application containers) ? Please let me know.
> > >
> > > You could make a ultra minimal guest installation which basicly is just
> > > your application and some needed libraries.
> > >
> > >
> > > JonB
> > >
> >
> > Thanks. I assume I would also need the init files (inittab, rc.x etc.)
> for
> > this to work?
> >
>
> A staticly linked copy of a stripped down Busybox should do the job.
> Just be sure to enable a shell (ash?), init, mdev and <as required>
> after doing an "all no" config.

Will try this.

>
> That would be pretty small, a few Mbytes probably.
> How much overhead does using lxc add to the guest image?
>

Actually nothing. I just build the application the usual way and then use
lxc-execute to run it as container. I don't need rootfs or a guest image for
that matter.

>
> And you could share that Busybox across guests.
>
> Mike
> > --Nirmal
> >
>
>
>
Received on Thu Jun 10 19:41:02 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 10 Jun 2010 - 19:41:05 BST by hypermail 2.1.8