DEV Community

Roy
Roy

Posted on

Answer: docker find container by pid of inside process

Thank you @alex Past and @stanislav for the help. But I did not get full answers for me. I combined them.
In summary I has got next.

First

pstree -sg <PID>

where PID is the process's PID from the command top

In output I am getting parent PID for the…

Top comments (0)