Apache httpd docker4/6/2024 Step4: Delete the pid file by issuing command rm -rf Step2: Search from host machine with the httpd.pid file based on the upper-level directory of the directory pointed to by the value of WorkDir (that is, the end does not contain work) ~]# docker inspect |grep -i UpperDir The same can be done with other steps, even without login to container After removed, start the Apache service.Remove the file rm -rf /run/httpd/httpd.pid.Login into apache container and search for file name “httpd.pid”.Restore apache container with the backup image by using docker load.The issue might be caused by committing a container with a running web server into a new image, and then trying to run the new imageīy considering above information, we have follow below steps to mitigate the problem! We have implemented docker backup mechanism for the Apache, when we start docker container won’t start because an existing pid file.Īfter googling we came to know the cause of the error.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |