Updated the docker image of cAdvisor to an explicit version instead of latest

This commit is contained in:
Jordi Arranz 2023-02-20 18:43:17 +00:00
parent 5ebdd583d5
commit bae5ab834b
1 changed files with 2 additions and 3 deletions

5
run.sh
View File

@ -3,9 +3,8 @@
dir=$(pwd) dir=$(pwd)
# Set up Cadvisor # Set up Cadvisor
docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --volume=/sys:/sys:ro --volume=/etc/machine-id:/etc/machine-id:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg gcr.io/cadvisor/cadvisor # docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --volume=/sys:/sys:ro --volume=/etc/machine-id:/etc/machine-id:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg gcr.io/cadvisor/cadvisor
docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --volume=/sys:/sys:ro --volume=/etc/machine-id:/etc/machine-id:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg gcr.io/cadvisor/cadvisor:v0.47.0
# Parse arg if any # Parse arg if any
ARGS1=${1:-"wakurtosis"} ARGS1=${1:-"wakurtosis"}
ARGS2=${2:-"config.json"} ARGS2=${2:-"config.json"}