推荐如下:

ENTRYPOINT ["/etc/prometheus/prometheus"]

CMD ["--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/etc/prometheus/data" ,"--web.console.libraries=/etc/prometheus/console_libraries" ,"--web.console.templates=/etc/prometheus/consoles", "--web.enable-lifecycle"]

 

区别如下:

https://blog.csdn.net/u010900754/article/details/78526443?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

相关文章:

  • 2021-11-07
  • 2021-10-17
  • 2021-09-05
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
猜你喜欢
  • 2021-10-29
  • 2021-06-08
  • 2021-08-25
  • 2022-12-23
  • 2021-06-15
  • 2021-10-04
相关资源
相似解决方案