Failed to Sufficiently increase receive buffer size

Hello guys, brand new to docker so sorry in advanced if this is a common occurrence. Could not find the answer with any of my google engineering skills though so post here.
I have Docker Desktop on my Windows 10 VM. Trying to host NextCloud but every time I attempt to run the container I get this error:

The github links here: UDP Receive Buffer Size · quic-go/quic-go Wiki · GitHub
These are Linux commands though so not sure how to translate these to my Windows OS.

Thanks in advanced!

In command prompt you can type:

wsl -d docker-desktop sh -c "sysctl -w net.core.rmem_max=2500000"
wsl -d docker-desktop sh -c "sysctl -w net.core.wmem_max=2500000"

This will not persist through a reboot though.
To make it persist add this line to .wslconfig
for some reason i had to have both commands on the same line

kernelCommandLine = "sysctl.net.core.wmem_max=2500000 && sysctl.net.core.rmem_max=2500000"