Public Repository

Last pushed: 2 months ago
Short Description
cAdvisor docker image build for ARM devices (for example: Raspberry PI).
Full Description

Supported tags and respective Dockerfile links

NOTE: Tag corresponds to the version of haas-proxy

cAdvisor ARM build

cAdvisor docker image build for ARM devices (for example: Raspberry PI).

This package is based on official google/cadvisor

Content

How it works

This package compile official google/cadvisor package on Raspberry PI with arm32v7/golang docker image and build google/cadvisor as arm32v6/alpine image.

How to use

With Docker

The best (and recommended) way how to use this package is as Docker image.

docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:rw \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --volume=/dev/disk/:/dev/disk:ro \
  --publish=8080:8080 \
  --detach=true \
  --name=cadvisor \
  budry/cadvisor-arm:latest

I trying update build of this package as soon as possible for each google/cadvisor update, but when you need more actual version I recommend you use custom build.

Custom build

Or you can use custom build on your ARM (Raspberry PI) device.

git clone git@github.com:Budry/cadvisor-arm.git
cd cadvisor-arm
sh update.sh <cadvisor tag> <image name> <image tag>
docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:rw \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --volume=/dev/disk/:/dev/disk:ro \
  --publish=8080:8080 \
  --detach=true \
  --name=cadvisor \
  <image name>:<image tag>

IMPORTANT NOTE: Build must be only on ARM device. On x86/x64 CPU not work!

Docker Pull Command
Owner
budry