Created
March 15, 2023 15:05
-
-
Save SIMULATAN/7c10b81712dc58307c45bec14dd937b3 to your computer and use it in GitHub Desktop.
Node-Exporter in Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
node-exporter: | |
image: prom/node-exporter:latest | |
command: | |
- '--path.rootfs=/host' | |
pid: host | |
volumes: | |
- '/:/host:ro,rslave' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment