From 35de5c28d79933cf3e417943906129aa47db9362 Mon Sep 17 00:00:00 2001 From: Christian Lempa Date: Thu, 17 Nov 2022 09:14:23 +0100 Subject: [PATCH] added privileged --- .../prometheus/exporters/cadvisor/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml b/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml index 63f8baa..33ed6d1 100755 --- a/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml +++ b/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml @@ -3,12 +3,11 @@ version: '3' services: cadvisor: - 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 + # TODO: latest tag is not updated, check latest release https://github.com/google/cadvisor/releases + image: gcr.io/cadvisor/cadvisor:v0.45.0 container_name: cadvisor - # ports: - # - "8080:8080" + ports: + - "8080:8080" network_mode: host volumes: - /:/rootfs:ro @@ -19,3 +18,4 @@ services: devices: - /dev/kmsg restart: unless-stopped + privileged: true \ No newline at end of file