如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!https://raw.githubusercontent.com/dachad/tcpgoon/master/_imgs/tcpgoontransparent.png
bash% docker run -ti dachad/tcpgoon --help tcpgoon tests concurrent connections towards a server listening on a TCP port Usage: tcpgoon [command] Available Commands: help Help about any command run Run tcpgoon test version Show tcpgoon version Flags: -h, --help help for tcpgoon Use "tcpgoon [command] --help" for more information about a command. % docker run -ti dachad/tcpgoon run --help Run tcpgoon test Usage: tcpgoon run [flags] <host> <port> Flags: -y, --assume-yes Force execution without asking for confirmation -c, --connections int Number of connections you want to open (default 100) -d, --debug Print debugging information to the standard error -t, --dial-timeout int Connection dialing timeout, in ms (default 5000) -h, --help help for run -i, --interval int Interval, in seconds, between stats updates (default 1) -s, --sleep int Time you want to sleep between connections, in ms (default 10)
Note: depending on the number of connections you want to open, you may need to increase the number of file descriptors your user/docker installation supports
Successful execution (connections were opened as expected):
bash% docker run -ti dachad/tcpgoon run myhttpsamplehost.com 80 --connections 10 --sleep 999 -y Total: 10, Dialing: 0, Established: 0, Closed: 0, Error: 0, NotInitiated: 10 Total: 10, Dialing: 1, Established: 1, Closed: 0, Error: 0, NotInitiated: 8 Total: 10, Dialing: 1, Established: 2, Closed: 0, Error: 0, NotInitiated: 7 Total: 10, Dialing: 1, Established: 3, Closed: 0, Error: 0, NotInitiated: 6 Total: 10, Dialing: 1, Established: 4, Closed: 0, Error: 0, NotInitiated: 5 Total: 10, Dialing: 1, Established: 5, Closed: 0, Error: 0, NotInitiated: 4 Total: 10, Dialing: 1, Established: 6, Closed: 0, Error: 0, NotInitiated: 3 Total: 10, Dialing: 1, Established: 7, Closed: 0, Error: 0, NotInitiated: 2 Total: 10, Dialing: 1, Established: 8, Closed: 0, Error: 0, NotInitiated: 1 Total: 10, Dialing: 1, Established: 9, Closed: 0, Error: 0, NotInitiated: 0 Total: 10, Dialing: 0, Established: 10, Closed: 0, Error: 0, NotInitiated: 0 --- myhttpsamplehost.com(216.58.201.131):80 tcp test statistics --- Total: 10, Dialing: 0, Established: 10, Closed: 0, Error: 0, NotInitiated: 0 --- tcpgoon execution statistics --- Total established connections: 10 Max concurrent established connections: 10 Number of established connections on closure: 10 Response time stats for 10 established connections min/avg/max/dev = 17.929ms/19.814ms/29.811ms/3.353ms % echo $? 0
bash% WHALEBREW_INSTALL_PATH=$HOME/bin whalebrew install dachad/tcpgoon 🐳 Installed dachad/tcpgoon to /home/caba/bin/tcpgoon % tcpgoon run myhttpsamplehost.com 80 -c 2 -y Total: 2, Dialing: 0, Established: 0, Closed: 0, Error: 0, NotInitiated: 2 Total: 2, Dialing: 0, Established: 2, Closed: 0, Error: 0, NotInitiated: 0 --- myhttpsamplehost.com(216.58.201.131):80 tcp test statistics --- Total: 2, Dialing: 0, Established: 2, Closed: 0, Error: 0, NotInitiated: 0 --- tcpgoon execution statistics --- Total established connections: 2 Max concurrent established connections: 2 Number of established connections on closure: 2 Response time stats for 2 established connections min/avg/max/dev = 57.606ms/63.499ms/69.391ms/5.892ms % echo $? 0
https://github.com/dachad/tcpgoon
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务