Can't run app without the debugger running

I do this by opening a shell in the container, changing to root and then executing it from there. I’ve tried both foreground and background launches.

This didn’t really answer my question. I want to know exactly how you’re launching your container and how you’re getting a shell into the container as root and executing your application. I want to see exact steps, and commands you’re running.

Also I understand you need to be root to use the CAN bus inside a container. But why are you doing it like this by getting a shell in the container as root? Can’t you just set the debugging process to execute as root as described in a previous thread you created: How to enable CAN bus using C++ code - #6 by lucas_a.tx

Is there a reason you’re doing this manual execution instead of just using the default debugging process?

Best Regards,
Jeremias