-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsl docker network speed is slow #10087
Comments
My internet speed under docker is also slow!!! From inside docker. Speedtest by Ookla
Download: 442.70 Mbps (data used: 233.7 MB ) From WSL2 on Windows 10 with all the updates
|
Having the same issue, download speed is about 100x slower in docker containers running in WSL2 than in WSL2 itself or outside of WSL2. Upload speed is fine. Docker container in WSL2:
WSL2:
The issue seems to be related to the docker NAT since running the container with network host gives me reasonable speeds:
This solution worked for me: #4901 (comment)
|
Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220)
Distro Version
Ubuntu 22.04
Other Software
Docker desktop windows 4.19.0 (106363)
Repro Steps
check speed in docker:
docker run --rm -it ubuntu bash -c "apt update ; apt install -y speedtest-cli ; speedtest-cli"
check speed:
apt update ; apt install -y speedtest-cli ; speedtest-cli
Expected Behavior
on my host the internet speed is about 250 Mbit/s
so I would like to hapy to see above speed in docker containers even if I use native docker under wsl
Actual Behavior
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: