rweijnen/speedtest

By rweijnen

Updated about 1 year ago

speedtest cli container an alternative cli which has more accurate results

Image
Networking
Monitoring & observability
0

4.2K

rweijnen/speedtest repository overview

This container leverages SpeedTest CLI from this Github repo: https://github.com/taganaka/SpeedTest

Recommend to run with network=host

How to Pull and Run the rweijnen/speedtest Docker Image

This Docker image allows you to run a speed test directly on your machine or server.

1. Pull the Docker Image

To download the latest version of the Docker image, run the following command:

docker pull rweijnen/speedtest:latest
2. Run the Docker Container

To run the speed test using the Docker container, use the following command. This command runs the container and removes it after the test completes, using the host's networking stack for accurate speed results:

docker run --rm --network=host rweijnen/speedtest
  • --rm: This flag removes the container after it has finished running.
  • --network=host: This ensures that the container uses the host's network interface, giving more accurate speed test results.
Example Output

When you run the container, it will execute the speed test and print the results directly in your terminal.

$ docker run --rm --network=host rweijnen/speedtest
SpeedTest++ version 1.15
Speedtest.net command line interface
Info: https://github.com/taganaka/SpeedTest
Fixed: https://github.com/gglluukk/SpeedTest
Author: Francesco Laurita <[email protected]>

IP: "xx.xxx.xxx.xx" ("Provider") Location: [12.0767, 4.56861]
Finding fastest server... 10 Servers online

Server: Amsterdam speedtest.ams1.hivelocity.net:8080 by Hivelocity (52.1365 km from you): 5 ms
Ping: 5 ms.
Jitter: 0 ms.
Determine line type (2) ........................
Fiber / Lan line type detected: profile selected fiber

Testing download speed (32) ......................................................................................................................................................................................................................................................................................
Download: 963.14 Mbit/s
Testing upload speed (12) ..................................................................................................................................................................................................................................................................................................................................................................................................................................
Upload: 950.49 Mbit/s

Repository and Contributions

  • The source code and Dockerfile for this image are hosted on GitHub: SpeedTest.
  • Feel free to contribute by submitting issues or pull requests.

Tag summary

Content type

Image

Digest

sha256:99236e753

Size

2.4 MB

Last updated

about 1 year ago

docker pull rweijnen/speedtest:sha256-600467b8e8b6ea6feccd1ffec5b66e7ad5fcf7db8df190a3de673ca88f203a2e