Is there a way to find out in which container a process is running?
Lets say I have a bunch of webserver containers running. They shows up on the host as numerous apache2 processes. Suppose one PID is eating my CPU and so would like to know which container that process belongs to.
cgroup.procs is an empty file…doesn’t return anything when I cat it…
Running updated Ubuntu LTS 16.04 with LXD 2.0.10…hmmm on my LXD 2.16 host (another host) I do get PID’s…
Ok I’ll update LXD first then and try again. Thanks for the hint…