Latest Posts

Run a Simple Docker Image to Test Internet Speed - Speedtest-cli


Docker Image : Speedtest-cli
You might need more memory when running this docker to test speed.



[email protected]:~# docker run --rm moutten/speedtest-cli
Unable to find image 'moutten/speedtest-cli:latest' locally
latest: Pulling from moutten/speedtest-cli
3690ec4760f9: Pull complete 
8cf4eb2be1b3: Pull complete 
b30d63227d13: Pull complete 
6255aad43ec4: Pull complete 
Digest: sha256:feacde601da0c9e06989c900a21e86105c7af327382444b989eeb3a36c06865c
Status: Downloaded newer image for moutten/speedtest-cli:latest
Retrieving speedtest.net configuration...
Testing from Google Cloud (35.225.54.226)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Cox - Nova (Fairfax, VA) [21.49 km]: 35.428 ms
Testing download speed................................................................................
Download: 695.30 Mbit/s
Testing upload speedTraceback (most recent call last):
  File "/usr/local/bin/speedtest-cli", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 1400, in main
    shell()
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 1376, in shell
    speedtest.upload(callback=callback)
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 1086, in upload
    data._create_data()
  File "/usr/local/lib/python2.7/site-packages/speedtest.py", line 497, in _create_data
    (chars * multiplier)[0:int(self.length) - 9]
MemoryError
[email protected]:~# 


Notes: https://hub.docker.com/r/moutten/speedtest-cl








No comments