Menu
- How to Add XDebug to the Official Docker WordPress Image
Use a Dockerfile to add XDebug to the official Docker WordPress image:- Build your own WordPress image with XDebug enabled.
See examples ofDockerfile
anddocker-compose.yml
. - Do not want to build? Download a pre-made image from a repository on Docker Hub.
- See how to configure PhpStorm for debugging.
- Learn how to separate production and development environments using multiple Docker Compose files.
- See how to use Nginx in Docker as a Reverse Proxy.
- See how to add PHP extensions to the Docker WordPress Image.
- Build your own WordPress image with XDebug enabled.
- How to Use WordPress Docker Container for Testing Themes and Plugins Locally
Test WordPress themes and plugins locally in Docker containers before deploying them on production:- Install WordPress quickly with Docker Compose.
See the example ofdocker-compose.yml
. - Reinstall WordPress in a Docker container easily.
- Install WordPress quickly with Docker Compose.
- [Docker] How to Set up Postfix Containers and Send Emails From WordPress in Docker
Add SMTP mail functionality to a Docker WordPress image. See how to
How to Extend
The official Docker WordPress image is minimal. It does not contain many PHP extensions even if they are required by popular WordPress plugins.
How to extend the functionality of the official WordPress image:
Please also see this article to quickly set up a WordPress test environment in a Docker container for testing plugins and themes locally before deploying them to production.
Why Is the Image Minimal?
Keeping the WordPress image minimal follows the decoupling principle. In short, this principle means that each container should handle only one concern. If additional functionality is needed, it should be managed by a separate container.