File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ docker run -d -p 3030:3030 \
1818 -v ` pwd` /config/config.json:/opt/elastalert-server/config/config.json \
1919 -v ` pwd` /rules:/opt/elastalert/rules \
2020 -v ` pwd` /rule_templates:/opt/elastalert/rule_templates \
21- --net=" host" elastalert:latest
21+ --net=" host" \
22+ --name elastalert elastalert:latest
2223```
2324
2425_ Fish_
@@ -28,7 +29,8 @@ docker run -d -p 3030:3030 \
2829 -v (pwd)/config/config.json:/opt/elastalert-server/config/config.json \
2930 -v (pwd)/rules:/opt/elastalert/rules \
3031 -v (pwd)/rule_templates:/opt/elastalert/rule_templates \
31- --net="host" elastalert:latest
32+ --net="host" \
33+ --name elastalert elastalert:latest
3234```
3335### Configuration
3436#### ElastAlert parameters
You can’t perform that action at this time.
0 commit comments