使用 fast.com 服务在命令行中测试你的互联网下载和上传速度。
| 参数 | 缩写 | 说明 |
|---|---|---|
--upload | -u | 同时测量上传速度 |
--json | -j | 以 JSON 格式输出结果 |
--single-line | -s | 在单行中显示结果 |
--timeout | -t | 设置测速超时时间(毫秒) |
--help | -h | 显示帮助信息 |
docker run --rm lihaixin/fast-cli:latest
docker run --rm lihaixin/fast-cli:latest --upload
docker run --rm lihaixin/fast-cli:latest --json
docker run --rm lihaixin/fast-cli:latest --timeout 30000
该工具由 JavaScript 编写,底层依赖 Puppeteer 进行网页自动化测速。
如果你想根据自己的需求修改 Dockerfile,可以运行以下命令进行本地构建:
docker build -t lihaixin/fast-cli .
Content type
Image
Digest
sha256:c9b87d6e2…
Size
416 MB
Last updated
6 months ago
docker pull lihaixin/fast-cli