billowy-yak-5387
10/01/2026, 9:47 AMbrief-jelly-34205
10/12/2026, 3:03 PMHi @billowy-yak-5387, I ran into this exact same issue on v1.24.0!
The root cause is a healthcheck bug: in, it runs/etc/init.d/docker, but newer versions ofcurl --url http://./_pingreject thecurlformat withhttp://.. Because the healthcheck fails, Rancher Desktop assumes Docker is dead and drops the Hyper-V socket connection.URL rejected: Bad hostname
Here is the fix to resolve it permanently:
1. Open PowerShell and run this one-liner to create a persistent provisioning script:
powershell
$dir = "$env:LOCALAPPDATA\rancher-desktop\provisioning"
if (!(Test-Path $dir)) { New-Item -ItemType Directory -Path $dir }
[System.IO.File]::WriteAllText("$dir\fix-docker-healthcheck.start", "#!/bin/sh`nsed -i 's|http://./_ping|http://localhost/_ping|' /etc/init.d/docker`n", [System.Text.UTF8Encoding]::new($false))
2. Completely quit Rancher Desktop (right-click the tray icon β Quit).
3. Restart Rancher Desktop.
This changestohttp://./_ping, which returns<http://localhost/_ping>. The Hyper-V socket timeout will completely stop happening!200 OK
billowy-yak-5387
10/13/2026, 5:25 AM