
mlabbe/iperf3本Docker镜像用于在服务器模式下运行iperf3命令行工具。iperf3(iPerf v3)是一款用于IP网络最大可实现带宽主动测量的工具,支持调整与定时、缓冲区和协议(TCP、UDP,含IPv4和IPv6)相关的各种参数,可针对每次测试报告带宽、丢包率和其他网络性能参数。
shC:\Users\Example>iperf3 -c speedtest.mydomain.local Connecting to host speedtest.mydomain.local, port 5201 [ 4] local 192.168.1.100 port 53917 connected to 192.168.1.50 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 112 MBytes 941 Mbits/sec [ 4] 1.00-2.00 sec 112 MBytes 942 Mbits/sec [ 4] 2.00-3.00 sec 112 MBytes 942 Mbits/sec [ 4] 3.00-4.00 sec 112 MBytes 943 Mbits/sec [ 4] 4.00-5.00 sec 112 MBytes 941 Mbits/sec [ 4] 5.00-6.00 sec 112 MBytes 942 Mbits/sec [ 4] 6.00-7.00 sec 112 MBytes 942 Mbits/sec [ 4] 7.00-8.00 sec 112 MBytes 942 Mbits/sec [ 4] 8.00-9.00 sec 112 MBytes 942 Mbits/sec [ 4] 9.00-10.00 sec 112 MBytes 942 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec sender [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec receiver iperf Done.
shC:\Users\Example>iperf3 -R -O 1 -u -b 50M -c speedtest.mydomain.local Connecting to host speedtest.mydomain.local, port 5201 [ 4] local 192.168.1.100 port 60469 connected to 192.168.1.50 port 5201 Reverse mode, remote host speedtest.mydomain.local is sending [ 4] 0.00-1.00 sec 6.17 MBytes 51.7 Mbits/sec 0.034 ms 23/813 (2.8%) (omitted) [ 4] 0.00-1.00 sec 5.97 MBytes 50.0 Mbits/sec 0.028 ms 0/764 (0%) [ 4] 1.00-2.00 sec 5.96 MBytes 50.0 Mbits/sec 0.018 ms 0/763 (0%) [ 4] 2.00-3.00 sec 5.96 MBytes 50.0 Mbits/sec 0.016 ms 0/763 (0%) [ 4] 3.00-4.00 sec 5.96 MBytes 50.0 Mbits/sec 0.018 ms 0/763 (0%) [ 4] 4.00-5.00 sec 5.96 MBytes 50.0 Mbits/sec 0.014 ms 0/763 (0%) [ 4] 5.00-6.00 sec 5.96 MBytes 50.0 Mbits/sec 0.010 ms 0/763 (0%) [ 4] 6.00-7.00 sec 5.95 MBytes 50.0 Mbits/sec 0.015 ms 0/762 (0%) [ 4] 7.00-8.00 sec 5.96 MBytes 50.0 Mbits/sec 0.015 ms 0/763 (0%) [ 4] 8.00-9.00 sec 5.96 MBytes 50.0 Mbits/sec 0.023 ms 0/763 (0%) [ 4] 9.00-10.00 sec 5.95 MBytes 50.1 Mbits/sec 0.011 ms 0/762 (0%) - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 4] 0.00-10.00 sec 60.0 MBytes 50.3 Mbits/sec 0.011 ms 0/7629 (0%) [ 4] Sent 7629 datagrams iperf Done.
适用于需要测试IP网络带宽性能的场景,包括但不限于:
从Docker Hub拉取镜像:
shdocker pull mlabbe/iperf3
启动iperf3服务器容器,需映射TCP和UDP的5201端口:
shdocker run --name=iperf3 -d --restart=unless-stopped -p 5201:5201/tcp -p 5201:5201/udp mlabbe/iperf3
运行后,Docker主机即可作为iperf3服务器,可通过iperf3客户端连接进行网络测试(如上述测试示例)。



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务