Before following this guide, we recommend reading through the Getting Started article to understand the basics of how to run your Cloud Container images locally.
application/public directory, download and extract the Wordpress files.
If you created an
index.phpfile during the Quick Start guide, remove it first withrm index.php.cd application/public wget https://wordpress.org/latest.tar.gz tar --strip-components=1 -xzvf latest.tar.gz
docker exec -it mariadb1011 bash
mysql -u root -pwordpress database
mysql> CREATE DATABASE wordpress; wordpress. Replace password with a secure password for this user.
mysql> CREATE USER 'wordpress'@'%' IDENTIFIED BY 'password';wordpress database.
mysql> GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpress'@'%';Exit the MariaDB shell
mysql> FLUSH PRIVILEGES;
mysql> EXIT
