Multiple WordPress sites with docker

Following Docker’s philosophy of “one application per container” you should have a database container for each WordPress instance. This way each database is isolated from the others. Should anything happen to one database it will not affect the others. Also, if you want to migrate or take down one website you only need to act … Read more

Run WP-CLI using PHP

Regarding the wp –info output, that makes sense. If you don’t have any packages installed (see wp package –help or a global configuration files (wp-cli.yml) then those items would be blank. You can run the wp command from any location. If you’re anywhere within your website’s folder structure it will automatically detect the site you’re … Read more

bitnami/WordPress chart – embed uploads in a custom image

You can replace image using custom values.yaml file. For example you can create values.yaml containg this content Documentation for all values, you can find in the README.md for that chart. This docs are generated directly from values.yaml file, so you can use directly the values.yaml file Then install it with helm: Volume override In the … Read more

bitnami/WordPress chart – embed uploads in a custom image

You can replace image using custom values.yaml file. For example you can create values.yaml containg this content Documentation for all values, you can find in the README.md for that chart. This docs are generated directly from values.yaml file, so you can use directly the values.yaml file Then install it with helm: Volume override In the … Read more

Docker WordPress can’t update/install plugins

After a bit of digging, the problem is with this line that I added in my config.php that removed the missing FTP error when I started the container: After that I tried many times to chown the directories of the site, with no success. Which is strange because I used the root account to change … Read more

Where is the Docker daemon log?

It depends on your OS. Here are the few locations, with commands for few Operating Systems: Ubuntu (old using upstart ) – /var/log/upstart/docker.log Ubuntu (new using systemd ) – sudo journalctl -fu docker.service Amazon Linux AMI – /var/log/docker Boot2Docker – /var/log/docker.log Debian GNU/Linux – /var/log/daemon.log CentOS – /var/log/message | grep docker CoreOS – journalctl -u docker.service Fedora – journalctl -u docker.service Red Hat … Read more