Docker Container Exits Immediately in Foreground Mode: Fixes - How to Set Node Version for a Project-How to Debug a Docker Container That Exits Immediately

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.