OpenVZ Forum


Home » Mailing lists » Users » OS/app in the OpenVZ container
Re: OS/app in the OpenVZ container [message #44044 is a reply to message #44035] Thu, 10 November 2011 12:16 Go to previous messageGo to previous message
mdfranz is currently offline  mdfranz
Messages: 3
Registered: July 2011
Junior Member

Tommy,

You might want to want to look at LXC as well. Although i agree that
is is pretty much impossible to run a single process, but it all
depends what you are trying to do...

(BTW, don't mean to start an LXC vs. OpenVZ flame was, because the
features/tools in VZ are much more mature but because LXC is fairly
primitive relative to VZ it might be an option)

- mdf

2011/11/10 Kirill Korotaev <dev@parallels.com>:
> 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>
>
>
--
--
Matthew Franz
mdfranz@gmail.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Heavy Disk IO from a single VM can block the other VMs on the same host
Next Topic: More on making an OpenVZ template
Goto Forum:
  


Current Time: Sun Sep 15 19:13:53 GMT 2024

Total time taken to generate the page: 0.03570 seconds