Skip to content

Commit e88a5d6

Browse files
committed
Fix podman command
1 parent d174aa3 commit e88a5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Now we need to get these metrics into Prometheus.
4848
In another terminal, use Podman to start an ephemeral Prometheus in a container, and use the `host` networking option, which will allow the container to access the Spring Boot app on `localhost`:
4949

5050
podman run --net=host \
51-
-v prometheus.yml:/etc/prometheus/prometheus.yml \
51+
-v ./prometheus.yml:/etc/prometheus/prometheus.yml:Z \
5252
prom/prometheus
5353
5454
Check the Prometheus console at <http://localhost:9090>.

0 commit comments

Comments
 (0)