<html>
  <head>
    <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    ÓÚ 2011/11/10 16:22, Kirill Korotaev Ð´µÀ:
    <blockquote
      cite="mid:0E015165-0501-48F1-A02A-E999123CEC38@parallels.com"
      type="cite">
      <pre wrap="">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:

</pre>
      <blockquote type="cite">
        <pre wrap="">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!



&lt;ATT00001.c&gt;
</pre>
      </blockquote>
      <pre wrap="">

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    hello,<br>
    <br>
    I think I didn't describe my question clearly<br>
    <br>
    If I want to start an app in the container, i should do the
    following step:<br>
    &nbsp;&nbsp;&nbsp; 1.create a container ,start it and there is an Guest OS running
    in the container now;<br>
    &nbsp;&nbsp;&nbsp; 2.enter the container and start the app I want;<br>
    <br>
    it acts as a system virtual machine<br>
    <br>
    what i want to do is :<br>
    &nbsp;&nbsp;&nbsp; 1.create the container<br>
    &nbsp;&nbsp;&nbsp; 2.start the app in the container<br>
    <br>
    this will act as a process virtual machine<br>
    <br>
    any suggestion?<br>
    <br>
    thanks<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=GB2312">
      <title></title>
      <meta name="GENERATOR" content="LibreOffice 3.3 (Linux)">
      <meta name="AUTHOR" content="tommy ">
      <meta name="CREATED" content="20111010;21344700">
      <meta name="CHANGEDBY" content="tommy ">
      <meta name="CHANGED" content="20111010;21364900">
      <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
                A:link { so-language: zxx }
        -->
        </style>
      <p align="LEFT"><font color="#a6a6a6"><font size="3"><span
              lang="en-US">Yours
              Sincerely</span></font></font><font color="#a6a6a6"><font
            size="2"><span lang="en-US">!</span></font></font></p>
      <br>
      <p style="margin-bottom: 0in"><br>
      </p>
    </div>
  </body>
</html>