Small Docker, Node.js and Python Application that will test the connection speed in regular intervals. (Note: Also runs on the raspberry pi)
🎉 NEW VERSION: 🎉
A new version of the tool is available: Docker Speedtest V2
You can also directly pull the docker image from my docker repository: https://hub.docker.com/r/felixnext/speedtest/
It should be started with a command like:
docker run -d -p 80:80 --name speedtest -v /tmp/speed:/data felixnext/speedtest:latest
Note, that the image can then not be compiled on a x86 machine, but you can compile it directly on the Pi.
The container can also run on the pi. To do so, change the first line of the docker file to use the hypriot/rpi-node:slim
image. The Pi i tested on, run with the hypriot image. To install the system:
- Copy the files on the pi (e.g. usb-stick)
- Navigate to the folder where the
Dockerfile
lies and executedocker build -t felixnext/speedtest:rpi .
- Create a new folder:
mkdir /tmp/speed
- Finally start the docker container using
docker run -d -p 80:80 --name speedtest -v /tmp/speed:/data felixnext/speedtest:latest
The service should now be running on the pi and be available through the PI's ip address.
docker run -d -p 9000:80 --name speedtest --restart unless-stopped -v $PWD/data:/data felixnext/speedtest:rpi