For Windows users with Docker Desktop, I just went to Settings - Resources - Proxies then turned the "Manual proxy configuration" toggle to true.