Docker Container Exits Immediately with Volume Mount – Fixes - Git Detached HEAD Explained and How to Fix-Practical Solutions for Git Clone Timing Out

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.