add name to speedtest docker

main
AhFei 2023-08-04 00:20:02 +08:00
parent 4b0c4658c9
commit 2419281871
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ mv Geek*/* ./ && rmdir Geekbench-* && \
echo "now geekbench5!"
./geekbench5 > result_geekbench5.txt
docker run -d -e MODE=standalone -p 88:80 -it adolfintel/speedtest
docker run -d -e MODE=standalone -p 88:80 -it --name speedtest adolfintel/speedtest:latest
echo "`ip a | grep brd | grep inet | head -n 1 | awk '{print$2}' | sed 's/\/.*//g'`:88" >> result_geekbench5.txt
echo "step 4: test has finished"