elastalert
elastalert copied to clipboard
Error response from daemon: invalid mode: \Program Files\Git\opt\elastalert\config.yaml.
Hi all,
all i did so far was to git clone https://github.com/bitsensor/elastalert.git; cd elastalert
Then change es_host n both the elastalert.yaml and config.json configuration files. then ran
docker run -d -p 3030:3030 -p 3333:3333 \
-v `pwd`/config/elastalert.yaml:/opt/elastalert/config.yaml \
-v `pwd`/config/elastalert-test.yaml:/opt/elastalert/config-test.yaml \
-v `pwd`/config/config.json:/opt/elastalert-server/config/config.json \
-v `pwd`/rules:/opt/elastalert/rules \
-v `pwd`/rule_templates:/opt/elastalert/rule_templates \
--net="host" \
--name elastalert bitsensor/elastalert:latest
and i got
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: invalid mode: \Program Files\Git\opt\elastalert\config.yaml.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
but i do not know why, could someone advise
I have same problem
This link will help.