Details
I am troubleshooting a Docker build issue in a corporate environment. All hostnames, IP addresses, repository names, and other identifying information have been anonymized for security reasons.
Environment
- Impacted Host: Dedicated Windows Hyper-V server
- Working Host: Local Windows workstation running Hyper-V
- Ubuntu Server 24.04 LTS Virtual Machine
- Docker Engine 29.x
- .NET 8 SDK
- Nexus Repository Manager (HTTP)
- Hyper-V External Virtual Switch
Problem
A Docker image build hangs during the dotnet restore stage, but only when the Ubuntu VM is hosted on the dedicated Hyper-V server.
The exact same Ubuntu VM, Docker Engine version, .NET SDK, Dockerfile, application source code, and Nexus repository work successfully when the VM is hosted on the local Hyper-V workstation.
The issue consistently follows the Hyper-V host, not the Ubuntu VM.
Dockerfile
RUN dotnet restore "WebApi.csproj" \
--source "http://<NEXUS>/repository/nuget.org-proxy/index.json" \
--source "file:///root/.Package/AesCrypto" \
--source "file:///root/.Package/License"
The same Ubuntu VM, Docker Engine, .NET SDK, Dockerfile, application source, and Nexus repository work successfully when the VM is hosted on another Hyper-V host.
What I’ve already verified
- Same VM works on another Hyper-V host.
- Created a fresh Ubuntu VM and reproduced the issue on the impacted host.
- Same Docker version, Ubuntu version, .NET SDK, Dockerfile, and source code.
- Same Nexus repository and NuGet sources.
- Both Hyper-V hosts are on the same subnet and governed by the same network/firewall policy.
- Physical Ubuntu and Ubuntu Desktop complete the same Docker build successfully.
- Using the same VM/IP on another environment also completes successfully.
Network observations
- TCP connection to Nexus is established successfully.
- tcpdump shows continuous bidirectional traffic with thousands of exchanged packets.
- dotnet restore remains stuck indefinitely only on the impacted Hyper-V host.
- I am collecting Wireshark captures from both the working and impacted Hyper-V hosts for comparison.
Question
Since the issue consistently follows the Hyper-V host rather than the Ubuntu VM, what additional Windows/Hyper-V diagnostics would you recommend?
Has anyone encountered a Hyper-V host-specific issue where long-running HTTP traffic (such as dotnet restore) hangs only on one Hyper-V host while an identical VM works correctly on another?
I’m particularly interested in Hyper-V networking, virtual switch, NIC driver/firmware, VMQ, RSS, RSC, LSO, NDIS filter drivers, or any known Hyper-V host-specific issues. The same Ubuntu VM, Docker Engine, .NET SDK, Dockerfile, application source, and Nexus repository work successfully when the VM is hosted on another Hyper-V host.
What I’ve already verified
- Same VM works on another Hyper-V host.
- Created a fresh Ubuntu VM and reproduced the issue on the impacted host.
- Same Docker version, Ubuntu version, .NET SDK, Dockerfile, and source code.
- Same Nexus repository and NuGet sources.
- Both Hyper-V hosts are on the same subnet and governed by the same network/firewall policy.
- Physical Ubuntu and Ubuntu Desktop complete the same Docker build successfully.
- Using the same VM/IP on another environment also completes successfully.
Network observations
- TCP connection to Nexus is established successfully.
- tcpdump shows continuous bidirectional traffic with thousands of exchanged packets.
- dotnet restore remains stuck indefinitely only on the impacted Hyper-V host.
- I am collecting Wireshark captures from both the working and impacted Hyper-V hosts for comparison.
Question
Since the issue consistently follows the Hyper-V host rather than the Ubuntu VM, what additional Windows/Hyper-V diagnostics would you recommend?
Has anyone encountered a Hyper-V host-specific issue where long-running HTTP traffic (such as dotnet restore) hangs only on one Hyper-V host while an identical VM works correctly on another?
I’m particularly interested in Hyper-V networking, virtual switch, NIC driver/firmware, VMQ, RSS, RSC, LSO, NDIS filter drivers, or any known Hyper-V host-specific issues.