Skip to content

Instantly share code, notes, and snippets.

@muokicaleb
Last active August 15, 2021 14:54
Show Gist options
  • Save muokicaleb/45896dfda397054de7208a91730e2b5c to your computer and use it in GitHub Desktop.
Save muokicaleb/45896dfda397054de7208a91730e2b5c to your computer and use it in GitHub Desktop.
version: '3.7'
services:
node_exporter:
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment