docker volume create speedtest_results
docker run --name speedtest -d -p 9000:80 -v speedtest_results:/app/results shidahuilang/speedtest
IP:9000打开测速网站
使用自定义配置 要通过config.json文件使用自定义配置,请通过只读卷挂载它:
docker run --name speedtest -d -p 9000:80 -v /path/to/config.json:/app/web/config.json:ro shidahuilang/speedtest
docker pull shidahuilang/speedtest:latest