I am trying to determine whether a process is running in a container or not? Is there any method to see from the point of host view? Is there any method to check it by using linux kernel namespace?
Asked
Active
Viewed 76 times
0
-
https://stackoverflow.com/questions/23513045/how-to-check-if-a-process-is-running-inside-docker-container – IrAM Jan 26 '21 at 04:07
-
Also `ps afx` gives a lot of information w.r.t processes and its parents, you can find the processes started by `lxc-start` – IrAM Jan 26 '21 at 04:28