Explorar el Código

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 hace 3 años
padre
commit
55c9f96d18
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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