elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Error response from daemon: invalid mode: \Program Files\Git\opt\elastalert\config.yaml.

Open zhongxian93 opened this issue 6 years ago • 2 comments

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

zhongxian93 avatar Jun 21 '19 08:06 zhongxian93

I have same problem

kristofferth avatar Mar 05 '20 17:03 kristofferth

This link will help.

vardank37 avatar Mar 16 '22 19:03 vardank37