[修改]node-exporter特权模式
This commit is contained in:
@@ -22,4 +22,6 @@ RUN architecture=$(uname -m); \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
CMD ["node_exporter"]
|
||||
RUN mkdir /host
|
||||
|
||||
CMD ["node_exporter","--path.rootfs=/host"]
|
||||
Reference in New Issue
Block a user