Skip to content

Commit

Permalink
Merge pull request #138 from jshufro/jms/fixrslave
Browse files Browse the repository at this point in the history
Fix issue with root mounted as rprivate
  • Loading branch information
0xfornax authored Sep 20, 2024
2 parents 75baeb8 + fc032af commit 9cc8a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/templates/exporter.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- "/sys:/host/sys:ro,rslave"
- "/var/lib/node_exporter/textfile_collector:/host/textfile_collector:ro"
{{- if .Exporter.RootFs.Value }}
- "/:/rootfs:ro"
- "/:/rootfs:ro,rslave"
{{- end}}
network_mode: host
networks:
Expand Down

0 comments on commit 9cc8a18

Please sign in to comment.