How to increase the UDP Receive Buffer Size in the docker

hi , it is working for me on a HyperV docker machine

with

docker run -it --rm --privileged --pid=host justincormack/nsenter1

then

sysctl -w net.core.rmem_max=2500000

but how can i make it persistent , i have tried many things but read-only error all over the place

1 Like