[Update] node_exporter

This commit is contained in:
2024-08-23 14:39:53 +08:00
parent 4d81d7a14f
commit 68a947aff2

View File

@@ -9,7 +9,4 @@ RUN curl -fsSL https://github.com/prometheus/node_exporter/releases/download/v1.
rm /usr/local/bin/node_exporter-* -rf && \ rm /usr/local/bin/node_exporter-* -rf && \
chmod +x /usr/local/bin/node_exporter chmod +x /usr/local/bin/node_exporter
RUN mkdir /etc/prometheus/ && \
touch /etc/prometheus/prometheus.yml
CMD ["node_exporter"] CMD ["node_exporter"]