瀏覽代碼

Update raspberrypi-monitoring.yml (#276)

Found that the "machine-id" in the zcube/cadvisor container was failing to read the file from the pi.. I added "- /etc/machine-id:/etc/machine-id:ro" (Line 23) in my yml file and the container no longer gives the error when spinning up the container. Forgive me if this is not the most appropriate way to do this as I am a novice at docker, but I am trying to do my part to help out with this fantastic project!
SteelZ691 3 年之前
父節點
當前提交
55c9f96d18
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      stack/raspberrypi-monitoring.yml

+ 1 - 0
stack/raspberrypi-monitoring.yml

@@ -20,6 +20,7 @@ services:
       - /var/run:/var/run:rw
       - /sys:/sys:ro
       - /var/lib/docker/:/var/lib/docker:ro
+      - /etc/machine-id:/etc/machine-id:ro
       
   grafana:
     container_name: monitoring-grafana