I had uploaded a Docker image in Google container Registry. It scanned the image and shows me many vulnerabilities I want to fix atleast critical ones and of high priority so how can I fix it also is there any automatic way of scanning and fixing the docker images for free. I am using the official docker image.
This is the name of image i am using FROM httpd:latest
Here is my dockerfile
FROM httpd:latest
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
COPY headerc.conf /usr/local/apache2/conf/headerc.conf
COPY client/ /usr/local/apache2/htdocs/
COPY Cert/server.crt /usr/local/apache2/conf/
COPY Cert/server.key /usr/local/apache2/conf/
EXPOSE 443
CMD ["httpd", "-D", "FOREGROUND"]
How can i fix the vulnerability issue in docker.