I want to debug dockerd in Ubuntu 22.04 using gdb

Hi
I am a beginner. I want to debug dockerd in Ubuntu 22.04 using gdb, how can I build dockerd from source code.

Thanks a million
Best Regards
Zhouyi

1 Like

You can check the Makefile in the moby repository

There is a guide as well for contributors

Thank you for your guidance, that helps a lot
Thanks
Zhouyi

1 Like