Problem
I'm able to find the httpd.conf when I run a container from the httpd image, but I can't find that file when I run the container from a PHP image that includes apache, like the image php:7.4.2-apache-buster
The php image was ran this way, also $(pwd) is pointing to the proyect directory
docker container run -d -p 80:80 \
--name containerName \
-v $(pwd):/var/www/html \
php:7.4.2-apache-buster
Tried
I used docker container exec -it normalApache bash
in the normal httpd image, in which I was able to find the httpd.conf file in /usr/local/apache2/conf
But when I try to do the exact same thing in the apache included with the php image, I can't find that file because the directory apache2 in /usr/local doesn't even exit