A friend of mine just released PressHost, a full-featured yet simple Docker image to run WordPress or ClassicPress. CP was a request of mine, and we intend to use PressHost to migrate my +11 years old WP blog do CP in 2026.
According to him, “the idea stemmed from a very common pain point: running WordPress or ClassicPress in Docker without having to fight with wp-config.php, permissions, and everything else necessary for security and proper functioning.”
What it does today
- Based on Debian + NGINX 1.26 + PHP 8.4.
- Rootless by default.
- Everything is done via environment variables; PHP configurations, NGINX, and even WordPress constants are handled by environment variables. No need to edit wp-config.php.
- Real caching support, works well with WP Super Cache, W3 Total Cache, WP Fastest Cache, and also with NGINX FastCGI Cache (via NGINX Helper).
- Separate code, uploads, cache, and logs — facilitates backup, restore, and migration.
Interactive installer, start the container, run `docker exec -it presshost ./presshost` and perform the guided installation.
He’s open to feedbacks, PRs and issues. The project is hosted at Github.