I am unable to run elasticsearch rally with docker its getting "No such file or directory" error .
How can i fix this ?
docker run elastic/rally race --track=nyc_taxis --test-mode --pipeline=benchmark-only --target-hosts=https://localhost:9200 --client-optio="timeout:60,use_ssl:true,verify_certs:true,ca_certs:'/home/cloud-user/es-key.pem'"
getting below error
ERROR] Cannot race. Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/esrally/actor.py", line 92, in guard return f(self, msg, sender) File "/usr/local/lib/python3.8/site-packages/esrally/racecontrol.py", line 111, in receiveMsg_Setup self.coordinator.setup(sources=msg.sources) File "/usr/local/lib/python3.8/site-packages/esrally/racecontrol.py", line 194, in setup ) = client.factory.cluster_distribution_version(hosts, client_options) File "/usr/local/lib/python3.8/site-packages/esrally/client/factory.py", line 345, in cluster_distribution_version es = client_factory(hosts, client_options).create() File "/usr/local/lib/python3.8/site-packages/esrally/client/factory.py", line 66, in __init__ self.ssl_context = ssl.create_default_context( File "/usr/local/lib/python3.8/ssl.py", line 745, in create_default_context context.load_verify_locations(cafile, capath, cadata) FileNotFoundError: [Errno 2] No such file or directory