How to tell the process is running in kata container
4 Sep
2024
4 Sep
'24
9:20 p.m.
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
107
Age (days ago)
107
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yang Dongshan