We are trying to use Docker official image to deploy WordPress sites. It seems working fine after configuring. However, I found that the default table prefix is wp_ while we need to change it to something else. I’ve been googling around with no luck, even using WordPress plugin which seemed to change it. However after change was made, the image was somehow starting over but asking to install a new WordPress site.
Any idea how we can change the table prefix and get to install our new WordPress by using custom table prefix? Thanks a lot in advance.
Dear @terpz,
Thanks a lot for your comment. I’m very new to docker so please bear my further questions.
So we need to modify our wp-config-docker.php file first, then we run the docker image with this additional parameter, am I right?
With installation of docker easiest way run file open PHP file directory and open images with its right parameter or past extra code in file.
secondly change database with addition WORDPRESS_TABLE_PREFIX as a variable.