Просмотр исходного кода

Update cadvisor to `latest` version - not using the latest tag

Since they don't update the latest tag... the latest tag is now 20 months old and it seems like they will/can not update it in the future...
Unsure what to do about that but for now I would just update the tag... ^^'
Horo 3 лет назад
Родитель
Сommit
7bc27aa6f4
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      docker-compose/prometheus/exporters/cadvisor/docker-compose.yml

+ 4 - 2
docker-compose/prometheus/exporters/cadvisor/docker-compose.yml

@@ -3,7 +3,9 @@ version: '3'
 
 
 services:
 services:
   cadvisor:
   cadvisor:
-    image: gcr.io/cadvisor/cadvisor:latest
+    image: gcr.io/cadvisor/cadvisor:v0.45.0 # latest tag is not updated...
+                                            # https://github.com/google/cadvisor/issues/3066    
+                                            # To manual check versions: https://github.com/google/cadvisor/releases      
     container_name: cadvisor
     container_name: cadvisor
     # ports:
     # ports:
     #   - "8080:8080"
     #   - "8080:8080"
@@ -15,4 +17,4 @@ services:
       - /dev/disk/:/dev/disk:ro
       - /dev/disk/:/dev/disk:ro
     devices:
     devices:
       - /dev/kmsg
       - /dev/kmsg
-    restart: unless-stopped
+    restart: unless-stopped