Raspberry Pi 4 uart link fails after approx 5s

Another possible approach is to disable the console directly from the container at runtime using dbus. Posted my findings here: