Run node-exporter in Docker as nobody (#599)

This commit is contained in:
Johannes 'fish' Ziemke 2017-06-08 20:02:20 +02:00 committed by GitHub
parent 0451c9c5f6
commit 798950d25b

View file

@ -4,4 +4,5 @@ MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
COPY node_exporter /bin/node_exporter
EXPOSE 9100
USER nobody
ENTRYPOINT [ "/bin/node_exporter" ]