Skip to content

Commit

Permalink
Merge pull request #209 from jasyip/main
Browse files Browse the repository at this point in the history
Fix userns option for rootless unix socket use case in `install.md`
  • Loading branch information
navidys authored Mar 16, 2024
2 parents 4ef50ed + 3d663bf commit d7f22c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ prometheus-podman-exporter is using go v1.17 or above.

```shell
$ systemctl start --user podman.socket
$ podman run -e CONTAINER_HOST=unix:///run/podman/podman.sock -v $XDG_RUNTIME_DIR/podman/podman.sock:/run/podman/podman.sock -p 9882:9882 --userns=keep-id --security-opt label=disable quay.io/navidys/prometheus-podman-exporter
$ podman run -e CONTAINER_HOST=unix:///run/podman/podman.sock -v $XDG_RUNTIME_DIR/podman/podman.sock:/run/podman/podman.sock -p 9882:9882 --userns=keep-id:uid=65534 --security-opt label=disable quay.io/navidys/prometheus-podman-exporter
```

* Using unix socket (root):
Expand Down

0 comments on commit d7f22c8

Please sign in to comment.