Created
January 28, 2024 18:05
-
-
Save agostof/cdfc8891d332bc7fd7bb34d2ac62e71a to your computer and use it in GitHub Desktop.
Run speedtest-cli on a Docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# simple command to run the speedtest-cli using docker | |
# it will sleep for 3 secs before starting the test | |
docker run --rm -it ubuntu /bin/bash -c "apt update && apt install -y speedtest-cli && sleep 3 && speedtest-cli" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment