Hi, all

 

                I have a question, is there any way to tell whether a user process is running in kata container other than in host env?

 

                For a docker container, there are some ways to get to know it, for example,

                1. grep -q "docker" /proc/self/cgroup

                2. grep -q "docker" /proc/1/sched

                3. if [ -f /.dockerenv ]

 

                These methods can’t apply to kata container.

 

Thanks a lot

 

Dongshan Yang