I created an Azure deployment using Docker’s “wordpress + mysql” template. I need to edit the wp-config.php file, but I can’t find it anywhere on the file system. Can someone help point me to this?
1 comment
Comments are closed.
I created an Azure deployment using Docker’s “wordpress + mysql” template. I need to edit the wp-config.php file, but I can’t find it anywhere on the file system. Can someone help point me to this?
Comments are closed.
The reason you are not seeing this file, is that it lives inside the docker container’s file system.
Here are the steps you need to do to find this file:
docker ps
– get theCONTAINER ID
of the container withNAME
‘wordpress’docker exec -i -t 6095ee8642410f77ce8a5f9628b55e23a349e6f744111b2fa9abf1b9fe6b035f bash
ls
and find thewp-config.php
file you are looking for.