Transport
vinsdocker/jmmaster
docker build -t jmeterbase:5.3 .
docker build -t jmetermaster:5.3 .
docker run -dit --name master jmetermaster:5.3 /bin/bash
sysctl -a | grep net.ipv4.tcp
[niaomingjian@CentOS ~]$ uname -a
Linux CentOS 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@7d929239742c:/# uname -a
Linux 7d929239742c 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64 GNU/Linux
docker run -t -i --privileged --sysctl net.ipv4.tcp_tw_reuse=1 --name testUbuntu ubuntu:bionic bash -i
net.ipv4.tcp_ecn = 2
net.ipv4.tcp_keepalive_intvl = 75
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_time = 7200
net.ipv4.tcp_mem = 133614 178153 267228
net.ipv4.tcp_min_snd_mss = 48
docker --version
Docker version 19.03.12, build 48a66213fe