and you need to use --sysctl net.ipv4.tcp_fastopen=3 option in the docker run command.
--sysctl net.ipv4.tcp_fastopen=3
docker run
But I guess you may be also need to add --privileged option…
--privileged