Re: OS/app in the OpenVZ container [message #44035 is a reply to message #44034] |
Thu, 10 November 2011 08:22   |
Kirill Korotaev
Messages: 137 Registered: January 2006
|
Senior Member |
|
|
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>
|
|
|