Download speed from container to host is incredibly slow
Network throughput is extremely poor between the host and container. It appears to be capped at about 1400kb/s in all of my tests. I've linked a repository that reliably reproduces it (for me, at least) below.
- [x] I have tried with the latest version of Docker Desktop
- [x] I have tried disabling enabled experimental features
- [x] I have uploaded Diagnostics
- Diagnostics ID: 0deb727b-5be2-42e5-895b-87de4c0c2941/20221128193150
Expected behavior
Network throughput between the container and host should not be so slow.
Actual behavior
It is slow.
Information
I am able to reproduce it reliably using the following repo: https://github.com/Nacoma/docker-desktop-for-linux-network-speed-issue. A few other users have reported the same issue on similar Linux distributions.
For me, this has been an ongoing issue since I first switched from snap-docker. Another coworker didn't start having the issue until a few weeks ago.
- Linux distro: Ubuntu
- Distro version: 22.04.1 LTS
- Docker Desktop Version: 4.14.1 (91661)
hi @Nacoma, thanks for reporting the issue, and sorry for the inconvenience. Could you try changing useVpnkit in ~/.docker/desktop/settings.json to false?
Significantly improved performance. That seems to have resolved my issue. Feel free to close this if there's nothing to be done about the performance when using vpnkit.
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 30 days.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale
I have a similar issue where my max speed has been less than 100 Mbps. With the above suggestion, I can get a max of 130 Mbps. I am running on a 1 Gig network. The data transfer is between two containers that are on different machines. I can do file transfer between the two computers at almost 950 Mbps.
hi I'm facing the same issue , running docker on WSL 2 , even after making the above mentioned change its the same for me .
I'm not sure if it has to do with a specific container , i get full bandwidth when testing in Openspeedtest container
Please help
I am having the same issue on mac, how can I solve it please