Hi!
You are not mounting the test script at /home/hari
in the container, but rather at
/hari
. Modifying your command to this will with 99% certainty solve the error:
K6_STATSD_ENABLE_TAGS=true docker run -v /home/hari/:/hari -i loadimpact/k6 run --out statsd --out cloud /hari/samplescript.js