On a fresh installation of httpd and PHP images and container get to create and work fine. But on restart of my system, httpd stop working. It’s not able to find the docroot folder. So is there any setting we need to do for same.
Throw error:
AH00112: Warning: DocumentRoot [/var/www/html/docroot/] does not exist docker error
2
Answers
From the documentation:
https://docs.docker.com/config/containers/start-containers-automatically/
You have to start your container in daemon mode: