<html>
  <head>
    <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 11/10/2011 11:29 AM, Tommy wrote:
    <blockquote cite="mid:4EBB7D5F.2000608@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=GB2312">
      <font face="Arial Narrow">Hi All,<br>
        <br>
        I'm doing some research on processing virtual machine recently.<br>
        <br>
        As I what know now, I think OpenVZ vps runs the same OS kernel
        as the host system.<br>
        The vps is a group of processes which are forked on the host
        system.<br>
        In the OpenVZ container, thera are some processes to run an os.<br>
        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?<br>
        what are work should I need to do mainly?<br>
        could you give me some suggestion?</font><br>
    </blockquote>
    <font face="Arial Narrow"><br>
      It's pretty simple. What OpenVZ kernel does it creates a container
      and runs /sbin/init inside it. What goes next is up to that
      particular /sbin/init. If you need to run an app let /sbin/init
      run just it, or let this app be /sbin/init (but bear in mind there
      will be no child reaper as in usual linux system so you might need
      to take some extra care about zombie processes).<br>
    </font>
  </body>
</html>