I have deployed elastalert but it is giving me a warning after all the rules process. It seems this error coming for open files and not closed.
Dockerfile:
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install python3 python3-pip -y
RUN pip3 install elastalert
RUN useradd -u 1000 alert
WORKDIR /opt
RUN mkdir -p /rules
ADD rules /rules
COPY config/config.yaml /opt/
ADD config/startup.sh /usr/local/bin/startup.sh
RUN chmod +x /usr/local/bin/startup.sh
USER alert
CMD ["/usr/local/bin/startup.sh"]
I have deployed elastalert but it is giving me a warning after all the rules process. It seems this error coming for open files and not closed. Dockerfile:
startup.sh
Error: