April 4Apr 4 I am running cadvisor using docker compose as shown below. This gets me the basic info I am looking for but all I see are docker ids and not the labels (com.docker.compose.*) that explain what each ID is, like the container name. I have tried many settings and permission changes but still not getting this to work. any advice?I can see the labels when I run docker inspect on any container or network.cadvisor: image: gcr.io/cadvisor/cadvisor:latest container_name: cadvisor volumes: - /etc/localtime:/etc/localtime:ro - /:/rootfs:ro - /var/lib/docker/:/var/lib/docker:ro - /var/run/docker.sock:/var/run/docker.sock:ro - /sys:/sys:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro - /proc:/host/proc:ro ports: - 9080:8080 networks: - net_205_noc restart: no privileged: true devices: - /dev/kmsg:/dev/kmsg user: 0:281 pid: "host" # Add your flags here command: - '--docker_only=true' - '--housekeeping_interval=10s' - '--logtostderr=true' - '--port=8080' labels: - net.unraid.docker.icon=/mnt/user/appdata/homepage/icons/cadvisor.png
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.