Iex issues with newest debian trixie and docker

Starting a remote shell to my phoenix app, running as a docker container on a raspberry pi 5, crashes the container.

I upgraded a few of my remote installations to a raspberry pi 5 with the latest debian trixie based OS. The app itself runs without any issues. But I just wanted to start a remote shell to inspect the internal state (I have some weird behaviour I do not understand). But as soon as I start it, the container crashes and gets restarted. I tried to check the erlang version and other shell scripts, but all show the same result… a crashing container.

The last lines in my log is always:
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed

I tried it with 1.18 with OTP 27 and 1.19.4 with OTP 28.2

The container itself seems to be fine, as it works on older devices just fine. Has anyone an idea what could cause that error? Or how to debug it?

Might be some changes in how trixie surfaces info from the os?
I’d dig around here and see how that compares to what trixie is doing?
Maybe changes in permissions

Also potentially related: