Docker Pull Access Denied on Mac M1: Step-by-Step Fix - Fixing Detached HEAD in Git Using Reset Hard-Resolve ERR_NAME_NOT_RESOLVED Quickly

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