
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
本Docker镜像用于在服务器模式下运行https://github.com/esnet/iperf%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7%E3%80%82iperf3%EF%BC%88iPerf v3)是一款用于IP网络最大可实现带宽主动测量的工具,支持调整与定时、缓冲区和协议(TCP、UDP,含IPv4和IPv6)相关的各种参数,可针对每次测试报告带宽、丢包率和其他网络性能参数。
TCP带宽测试示例
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.
UDP带宽测试示例
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客户端连接进行网络测试(如上述测试示例)。
以下是 mlabbe/iperf3 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。





来自真实用户的反馈,见证轩辕镜像的优质服务