Sign inSign up

huss4in7/speedtest-cli

By huss4in7

•Updated about 5 years ago

Download, Extract, and Run Ookla Speedtest® CLI

Image
1

10K+

huss4in7/speedtest-cli repository overview

⁠ ⁠ ⁠ ⁠ ━ ⁠ ⁠ ⁠

⁠ Docker ⁠ Speedtest® ⁠

⁠ ⁠ ⁠

⁠⚙ Usage

docker run -ti --rm --init --net host --name speedtest huss4in7/speedtest-cli --accept-license
Options⁠Description
-tiAttack to container terminal and make it interactive.
--rmAutomatically remove the container after it exits.
--initUse docker-init as PID1, to make it possible to kill the process using (ctrl + c) or stop it with (docker stop speedtest)
--net=hostConnect the container to host network (for native performance).
--name=speedtestAssign speedtest to the container name
--accept-licenseAccept Ookla Speedtest License

⚒ Building, 🧪 Testing, and 🚀 Deploying

⁠⚒ Build:

./buildx.sh

⁠🧪 Test:

⁠Test all platforms:
./buildx.sh --test # or -t
⁠Test specific platforms:
./buildx.sh --test linux/amd64,linux/arm64

⁠🚀 Deploy:

./buildx.sh --push # or -p


⚙ To run with one command
⁠Add speedtest⁠ to PATH
#!/bin/sh

docker run -ti --rm --init --net host --name speedtest huss4in7/speedtest-cli --accept-license $@
⁠Make it executable
chmod +x speedtest
⁠Run from anywhere
speedtest

⁠Example

# Print usage information:

speedtest --help # or -h

⁠📝 Note

This Docker Image uses Ookla Speedtest CLI⁠ and accepts Ookla License⁠ and Privacy⁠ terms.

Ookla Speedtest License

This End User License Agreement (”Agreement”) is a binding agreement between you (”End User” or “you”) and Ookla, LLC (”Ookla”). This Agreement governs your use of the Speedtest Software, (including all related documentation, the “Software”). The Software is licensed, not sold, to you.

Your use of this Software is subject to the Terms of Use and Privacy Policy at these URLs:
https://www.speedtest.net/about/terms⁠ and https://www.speedtest.net/about/privacy⁠.

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

about 5 years ago

docker pull huss4in7/speedtest-cli