8000 GitHub - huss4in/speedtest-cli: Dockerized Ookla Speedtest® CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

huss4in/speedtest-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙ Usage

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

⚒ Build:

./buildx.sh

🧪 Test: 84C3

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.

0