Skip to content

Commit 26670e5

Browse files
committed
Fix container name
1 parent 16291b6 commit 26670e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prometheus/test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
docker run --name caddy -d -p 9090:9090 prometheus
1+
docker run --name prometheus -d -p 9090:9090 prometheus
22
Start-Sleep -Seconds 5
33
$req = Invoke-WebRequest http://$(docker inspect -f '{{ .NetworkSettings.Networks.nat.IPAddress }}' prometheus):9090/graph -UseBasicParsing
44
$code = $req.statuscode

0 commit comments

Comments
 (0)