---
- name: run cadvisor container
  sudo: yes
  docker:
    name: cadvisor
    image: google/cadvisor:0.7.1
    volumes:
      - /:/rootfs:ro
      - /sys:/sys:ro
      - /cgroup:/cgroup
      - /var/run:/var/run:rw
      - /var/lib/docker/:/var/lib/docker:ro
    ports: 8080:8080
    env:
      SERVICE_8080_NAME: cadvisor
      SERVICE_8080_CHECK_HTTP: .
      SERVICE_8080_CHECK_INTERVAL: 15s
    state: running

---
- name: run cadvisor container
  sudo: yes
  docker:
    name: cadvisor
    image: google/cadvisor:latest
    volumes:
      - /:/rootfs:ro
      - /sys:/sys:ro
      - /cgroup:/cgroup
      - /var/run:/var/run:rw
      - /var/lib/docker/:/var/lib/docker:ro
    ports: 8080:8080
    env:
      SERVICE_8080_NAME: cadvisor
      SERVICE_8080_CHECK_HTTP: .
      SERVICE_8080_CHECK_INTERVAL: 15s
    state: running

Switch to using latest cadvisor now that key EL7 bugs are fixed
Switch to using latest cadvisor now that key EL7 bugs are fixed