Why is my Docker container transfer speed so much slower than the native app on Windows 11?

0
0
Asked By CuriousCoder47 On

Hey folks! I'm using Docker Desktop on my Windows 11 HTPC, and I've set up Double Commander inside a container to transfer files to my Synology NAS. I'm seeing transfer speeds of only about 35 MB/s when using the container, while the native Double Commander app running directly on Windows is transferring at around 85 MB/s. I'm using WSL2 with Ubuntu 24.04.2 LTS, and everything worked fine when I was using this container on my Raspberry Pi 4. It seems like the issue is with Windows and Docker Desktop. Is there any way to boost the transfer speeds for Double Commander in the container? Thanks for your help!

1 Answer

Answered By TechWhiz92 On

The slow speeds you're experiencing are likely due to WSL's filesystem handling when crossing the Windows/Linux boundary. When you bind mount Windows paths or even the WSL equivalent, it forces WSL to bridge those files between different filesystems, which can really slow things down. To improve your transfer speeds, try keeping your files within the Linux filesystem instead of accessing them through Windows files. You can set up your NAS shares directly within the WSL environment to avoid this bottleneck.

FileMover99 -

Got it! So, should I set the NAS up as a network drive in WSL rather than accessing it through Windows?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.