-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Update readme docker example #3215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,10 @@ docker run -d \ | |
--net="host" \ | ||
--pid="host" \ | ||
-v "/:/host:ro,rslave" \ | ||
-v "/var/lib/node_exporter/textfile_collector:/var/lib/node_exporter/textfile_collector" | ||
quay.io/prometheus/node-exporter:latest \ | ||
--path.rootfs=/host | ||
--path.rootfs=/host --path.udev.data=/host/run/udev/data --path.procfs=/host/proc --path.sysfs=/host/sys | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This shouldn't need to be changed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The udev flag is not obvious and There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, that sounds like a bug. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Would you mind pointing out an instance of that happening in the code for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For example, the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah for So its possible that when udev flag has been added the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct, but those two paths ( IIRC, we used to have examples of adjusting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Either the udev flag is better documented and explained or #3216 |
||
--collector.textfile.directory /var/lib/node_exporter/textfile_collector | ||
``` | ||
|
||
For Docker compose, similar flag changes are needed. | ||
|
Uh oh!
There was an error while loading. Please reload this page.