Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
trace processes that run in docker-container. #67
Hi - love rbspy already - big thanx. I can see this becoming a very important tool for all the ruby people out there!
I run quite a few things in docker container and love to trace them without having to enter the container (i would also run the container privileged I believe to use rbspy within the container).
(in different shell)
This is do to the fact that ruby is of course installed in the container somewhere in the depth of /var/lib/docker ...
Profiling the ruby process within a docker container is a future feature that @jvns mentioned working towards. In the short term you might be able to use
On slide 36, he shows some examples: http://www.brendangregg.com/blog/2017-05-15/container-performance-analysis-dockercon-2017.html
referenced this issue
Jan 25, 2018
hey @jvns thank you for rbspy! I came across this issue because I'm having troubles using rbspy from a docker container. Here are the steps I'm doing:
Both shell and the ruby process are running from
oh amazing! Sounds like we could improve this error message a little more!…
On Tue, Apr 3, 2018, 3:13 AM Kir Shatrov, ***@***.***> wrote: Yay, it looks like running the container with --cap-add=SYS_PTRACE allows it to use sys_ptrace. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#67 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAx6S9Z6iSWUtczRvsoFMoiDMOByKjrRks5tkyDtgaJpZM4RtB29> .