Report this

What is the reason for this report?

Docker Wordpress on Apache

Posted on May 12, 2021

I currently run a few virtual hosts on apache, none of these are Wordpress, all on a LAMP setup

I need to host a Wordpress site But do not want to buy another server as the one with existing sites is more than enough

My questions

Is adding docker Wordpress the best option Is it ok to install the containers under my current structure, eg /home/sitename/public_html/ then install Wordpress etc here

Is there a link to best practice to do what Im doing

Thanks in advance



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Running WordPress in a container is one option, but as you already have LAMP installed, you could just install the WordPress in a specific directory rather than containerizing it.

You can follow the steps from this video here starting at 06:30, it will show you how to download the WordPress files, create a new Apache virtual host, create a new MySQL database and user and install WordPress:

Let me know if you have any questions. Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.