[lxc-devel] 回复 :How to know that whether a process run inside a container or not?

liu.sp at neusoft.com liu.sp at neusoft.com
Fri Dec 23 02:06:52 UTC 2011


Hi Greg Kurz ,Daniel Lezcano,
     Could give me some guidances about the issue?
I really need your help, looking forward to your reply.
    
Best Regards
Spring

  
----- 原邮件 -----
从: <liu.sp at neusoft.com>
日期: 星期二, 十二月 20日, 2011 下午4:57
主题: How to know that whether a process run inside a container or not?

> Hi Greg Kurz ,Daniel Lezcano,
> 
>   Could you give me some guidance on how to check if a process 
> run 
> inside a container 
> or host?
> 
>   In the kernel space ,we can check the level of pid to do it.
>   But in the user space ,how to check it ?
>   
> 
> Best regards
> Spring
> 
> 
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------


More information about the lxc-devel mailing list