tangentsoft/speedtest-cli

By tangentsoft

Updated over 2 years ago

The Ookla speedtest CLI tool and not a thing else.

Image
Networking
Monitoring & observability
2

7.2K

tangentsoft/speedtest-cli repository overview

This is a single statically-linked binary of Ookla's speedtest-cli tool, set to give simple human-readable output by default, without any fancy progress meters, suitable for running automatically on containerized infrastructure rather than an interactive terminal.

It's tiny because there is only one executable inside this container; there isn't an "OS," not even a shell. This makes the container as secure as possible, having no greater attack surface than the service binary itself. If anyone ever does work out a way to exploit speedtest-cli, running it this way leaves the attacker without any additional tools to extend their reach. The only other file inside the container is the Mozilla CA cert.pem file from the Alpine project, to allow the speed test to go over HTTPS instead of HTTP.

Full details about the project are here, including the Dockerfile and the Makefile used to build this container, plus instructions on getting it running under RouterOS 7, the initial testing target. It's since been tested under Docker and Podman, but given the bare-bones nature of the RouterOS container engine, this should run under any other sane engine.

Tag summary

Content type

Image

Digest

sha256:480e55a55

Size

1.2 MB

Last updated

over 2 years ago

docker pull tangentsoft/speedtest-cli:1.2.0