Thanks to visit codestin.com
Credit goes to hub.docker.com

linuxtips/node-exporter_alpine

By linuxtips

Updated almost 7 years ago

Image to run Node_Exporter for Prometheus on Alpine Linux. #VAIIII

Image
9

100K+

linuxtips/node-exporter_alpine repository overview

Node_Exporter on Alpine

Docker Pulls

To run this image, execute:

# docker container run -d --name node-exporter -p 9100:9100 -v /proc:/usr/proc -v /sys:/usr/sys -v /:/rootfs linuxtips/node-exporter_alpine

Open http://your_ip:9100/metrics to access the metrics collected by Node-Exporter .

To view the logs, execute:

# docker container logs -f <container_id>

To create a swarm service, execute:

# docker service create --name node-exporter -p 9100:9100 \
   --mount type=bind,src=/proc,dst=/usr/proc \
   --mount type=bind,src=/sys,dst=/usr/sys \
   --mount type=bind,src=/,dst=/rootfs \
   linuxtips/node-exporter_alpine

Tag summary

Content type

Image

Digest

Size

7.2 MB

Last updated

almost 7 years ago

Requires Docker Desktop 4.37.1 or later.