mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-13 17:14:23 -08:00
Run node-exporter in Docker as nobody (#599)
This commit is contained in:
parent
0451c9c5f6
commit
798950d25b
|
@ -4,4 +4,5 @@ MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
|
||||||
COPY node_exporter /bin/node_exporter
|
COPY node_exporter /bin/node_exporter
|
||||||
|
|
||||||
EXPOSE 9100
|
EXPOSE 9100
|
||||||
|
USER nobody
|
||||||
ENTRYPOINT [ "/bin/node_exporter" ]
|
ENTRYPOINT [ "/bin/node_exporter" ]
|
||||||
|
|
Loading…
Reference in a new issue