docker run -ti --rm --init --net host --name speedtest huss4in7/speedtest-cli --accept-license
Options |
Description |
---|---|
-ti |
Attack to container terminal and make it interactive. |
--rm |
Automatically remove the container after it exits. |
--init |
Use docker-init as PID1, to make it possible to kill the process using (ctrl + c) or stop it with (docker stop speedtest) |
--net=host |
Connect the container to host network (for native performance). |
--name=speedtest |
Assign speedtest to the container name |
--accept-license |
Accept Ookla Speedtest License |
⚒ Building, 🧪 Testing, and 🚀 Deploying
./buildx.sh
./buildx.sh --test # or -t
./buildx.sh --test linux/amd64,linux/arm64
./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 $@
chmod +x speedtest
speedtest
# Print usage information:
speedtest --help # or -h
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.