added privileged
This commit is contained in:
@@ -3,12 +3,11 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
cadvisor:
|
cadvisor:
|
||||||
image: gcr.io/cadvisor/cadvisor:v0.45.0 # latest tag is not updated...
|
# TODO: latest tag is not updated, check latest release https://github.com/google/cadvisor/releases
|
||||||
# https://github.com/google/cadvisor/issues/3066
|
image: gcr.io/cadvisor/cadvisor:v0.45.0
|
||||||
# To manual check versions: https://github.com/google/cadvisor/releases
|
|
||||||
container_name: cadvisor
|
container_name: cadvisor
|
||||||
# ports:
|
ports:
|
||||||
# - "8080:8080"
|
- "8080:8080"
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
@@ -19,3 +18,4 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/kmsg
|
- /dev/kmsg
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
Reference in New Issue
Block a user