Skip to content

Instantly share code, notes, and snippets.

@jp
Created February 13, 2019 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jp/ef0023f13ecad078f91f0a9031a14780 to your computer and use it in GitHub Desktop.
Save jp/ef0023f13ecad078f91f0a9031a14780 to your computer and use it in GitHub Desktop.
# Start Prometheus node-exporter
docker run -d \
--net="host" \
--pid="host" \
-v "/proc:/host/proc:ro" \
-v "/proc:/host/sys:ro" \
--restart always \
--name node-exporter \
quay.io/prometheus/node-exporter:v0.16.0 \
--path.procfs /host/proc \
--path.sysfs /host/sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment