[Users] OS/app in the OpenVZ container

Stoyan Stoyanov s.stoianov at maxtelecom.bg
Tue Nov 15 02:50:11 EST 2011


You may wonna take a look at this:
http://qubes-os.org/Architecture.html

On Nov 10, 2011, at 12:36 PM, Kir Kolyshkin wrote:

> On 11/10/2011 01:29 PM, Stoyan Stoyanov wrote:
> If thats right you just need to isolate the application process/
> processes ? So may be the best way is just chroot it in the standard
> linux way.
>
> This way you will only isolate the file system (and not in totally  
> inescapable way I must add). chroot() is essentially a file system  
> namespace, and there are a dozen of others in OpenVZ, and then a     
> dozen of resource limits.
>
> of course u can set limits too, but i don't thing it's
> possible in os-virtualization level to run  only application?
>
> It is possible. As I noted in another reply to this thread, OpenVZ  
> kernel just runs /sbin/init inside the container and assumes that  
> init will handle the rest.
>
>
>
> On Nov 10, 2011, at 10:59 AM, Tommy wrote:
>
> > 于 2011/11/10 16:22, Kirill Korotaev 写道:
> > Yes, it's possible to run a single app in a container.
> > The easiest way is to let the startup scripts setup /proc, /sysfs
> > and the rest of environment and then specify in inittab or rc.X what
> > to run on this particular runlevel.
> >
> > However, for media player you may also need to run some of X parts,
> > not just a media player alone.
> >
> > Thanks,
> > Kirill
> >
> >
> >
> > On Nov 10, 2011, at 11:29 , Tommy wrote:
> >
> > Hi All,
> >
> > I'm doing some research on processing virtual machine recently.
> >
> > As I what know now, I think OpenVZ vps runs the same OS kernel as
> > the host system.
> > The vps is a group of processes which are forked on the host system.
> > In the OpenVZ container, thera are some processes to run an os.
> > Is it possible to run only one App in the container instead of the
> > os based on the host os? such as a media player?
> > what are work should I need to do mainly?
> > could you give me some suggestion?
> >
> > Thanks.
> >
> > Tommy
> > --
> > Yours Sincerely!
> >
> >
> >
> > <ATT00001.c>
> >
> > _______________________________________________
> > Users mailing list
> > Users at openvz.org
> > https://openvz.org/mailman/listinfo/users
> > hello,
> >
> > I think I didn't describe my question clearly
> >
> > If I want to start an app in the container, i should do the
> > following step:
> >     1.create a container ,start it and there is an Guest OS running
> > in the container now;
> >     2.enter the container and start the app I want;
> >
> > it acts as a system virtual machine
> >
> > what i want to do is :
> >     1.create the container
> >     2.start the app in the container
> >
> > this will act as a process virtual machine
> >
> > any suggestion?
> >
> > thanks
>
> <ATT00001.txt>

Stoyan Stoyanov
Core System Administrator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxtelecom-logo.gif
Type: image/gif
Size: 2611 bytes
Desc: not available
Url : http://openvz.org/pipermail/users/attachments/20111115/75315798/maxtelecom-logo.gif
-------------- next part --------------


CONFIDENTIAL
The information contained in this email and any attachment is  
confidential. It is intended only for the named addressee(s). If you  
are not the named addressee(s) please notify the sender immediately  
and do not disclose, copy or distribute the contents to any other  
person other than the intended addressee(s).



More information about the Users mailing list