mirror of https://github.com/vacp2p/wakurtosis.git
Updated the docker image of cAdvisor to an explicit version instead of latest
This commit is contained in:
parent
5ebdd583d5
commit
bae5ab834b
5
run.sh
5
run.sh
|
@ -3,9 +3,8 @@
|
|||
dir=$(pwd)
|
||||
|
||||
# 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
|
||||
ARGS1=${1:-"wakurtosis"}
|
||||
ARGS2=${2:-"config.json"}
|
||||
|
|
Loading…
Reference in New Issue