diff options
author | Johannes 'fish' Ziemke <github@freigeist.org> | 2017-06-08 20:02:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 20:02:20 +0200 |
commit | 798950d25b57761b8acb3989eff9e71bbd518846 (patch) | |
tree | 20bd2fe9864dea4d94f66209892970c852ed319c /Dockerfile | |
parent | 0451c9c5f6a5b07093ffade33e67c3cf8098229c (diff) | |
download | prometheus_node_collector-798950d25b57761b8acb3989eff9e71bbd518846.tar.bz2 prometheus_node_collector-798950d25b57761b8acb3989eff9e71bbd518846.tar.xz prometheus_node_collector-798950d25b57761b8acb3989eff9e71bbd518846.zip |
Run node-exporter in Docker as nobody (#599)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,4 +4,5 @@ MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com> | |||
4 | COPY node_exporter /bin/node_exporter | 4 | COPY node_exporter /bin/node_exporter |
5 | 5 | ||
6 | EXPOSE 9100 | 6 | EXPOSE 9100 |
7 | USER nobody | ||
7 | ENTRYPOINT [ "/bin/node_exporter" ] | 8 | ENTRYPOINT [ "/bin/node_exporter" ] |