Maybe I am missing something or it doesn’t work on my machine, but How to debug a build locally seems to only describe how to set up an empty docker container.
The most important part is missing: How to get the volume with the project files?
Since the container doesn’t have git let alone SSH keys, I can’t simply check them out. This container is really no different from any other freshly set up Docker container. What am I missing?