|
For example, the most elegant ping is like this:
docker run --rm --net=host busybox ping -c 3 119.29.29.29
But I need to execute this command in the busybox, which doesn't have it. It's a speed test command called taierspeed, and it's placed on the host machine. How can I execute this command in the docker elegantly? Similar to above, just use the ping command and delete it after using it.
The purpose of running the docker is because I want to measure multiple broadband connections. When running the docker, I can customize the ip at runtime, and this ip will be divided into different broadband connections. Test the speed of the broadband. |
|