Hi, iam trying run a cAdvisor image sending the metrics to ElasticSearch service in the Cloud using the command listed in cAdvisor docs:
sudo docker run–volume=/:/rootfs:ro
–volume=/var/run:/var/run:ro
–volume=/sys:/sys:ro
–volume=/var/lib/docker/:/var/lib/docker:ro
–volume=/dev/disk/:/dev/disk:ro
-storage_driver=elasticsearch
-storage_driver_es_host=“https://fa2475fbe0d04752823a0600c0ea4ad6.sa-east-1.aws.found.io:9243”
–publish=8080:8080
–detach=true
–name=cadtest
google/cadvisor:latest
however the following error message appears:
“unknown shorthand flag: ‘s’ in -storage_driver=elasticsearch
See ‘docker run --help’.”
Docker version 18.06.1-ce
Amazon Linux 2
Thanks!