Docker4Drupal
github.com
What it is
Docker4Drupal is a local Drupal environment built from Docker images and a preconfigured Compose setup. It lists images for Drupal CMS 2 and vanilla Drupal 11 and 10, with a stack that includes Nginx, Apache, PHP, MariaDB, PostgreSQL, Valkey, Redis, Memcached, Varnish, Node.js, Solr and OpenSearch. Optional tools include Mailpit, Gotenberg, Webgrind, Xhprof viewer, Adminer, phpMyAdmin, Selenium Chrome and Traefik. You can use the bundled Drupal setup or mount an existing codebase. Traefik supports routing multiple projects through a shared port or separate ports; Mailpit catches outbound email by default, and OpenSMTPD can be enabled for delivery. Documentation covers Xdebug for web and command-line debugging and IDE configuration such as PHPStorm. Docker is required, with Docker Compose also required on Linux. Database volumes persist by default, with bind mounts recommended when data should stay attached across restarts. It is free at free under the MIT license, for local development; the project directs server deployment users to Wodby’s Drupal stack.
Spec sheet
- Purpose
- Docker4Drupal provides Docker images and a preconfigured Compose file for running a local Drupal environment.Read 7 Oct 2026 · github.com
- Support
- The repository directs users to ask questions on Discord and Slack.Read 7 Oct 2026 · github.com
- Database persistence
- The docs say Docker creates a persistent database volume by default and recommend a bind mount when data should remain attached across restarts.Read 7 Oct 2026 · wodby.com
- Debugging
- The docs describe enabling Xdebug for web and CLI debugging and configuring an IDE such as PHPStorm.Read 7 Oct 2026 · wodby.com
- Developer workflow
- The documentation describes using the stack either with bundled vanilla Drupal or by mounting an existing Drupal codebase.Read 7 Oct 2026 · wodby.com
- Drupal versions
- The repository lists Drupal CMS 2 and vanilla Drupal 11 and 10 images.Read 7 Oct 2026 · github.com
- Intended use
- The repository describes Docker4Drupal as a project for spinning up a local environment and points users seeking deployment on their own server to Wodby’s Drupal stack.Read 7 Oct 2026 · github.com
- Mailpit is enabled by default to catch outbound email, and OpenSMTPD can be enabled for email delivery.Read 7 Oct 2026 · wodby.com
- Operating systems
- The project describes local environment support for Linux, Mac OS X, and Windows.Read 7 Oct 2026 · wodby.com
- Optional tools
- The Compose stack also lists tools including Mailpit, Gotenberg, Webgrind, Xhprof viewer, Adminer, phpMyAdmin, Selenium Chrome, and Traefik.Read 7 Oct 2026 · github.com
- Requirements
- Docker is required, and Linux users are instructed to install Docker Compose as well.Read 7 Oct 2026 · wodby.com
- Routing
- Traefik is used for routing, and the documentation describes running multiple projects through a shared port or different ports.Read 7 Oct 2026 · wodby.com
- Security configuration
- The documentation says Solr Cloud initialization enables authentication for Solr Cloud mode.Read 7 Oct 2026 · wodby.com
- Services
- The listed stack includes Nginx, Apache, PHP, MariaDB, PostgreSQL, Valkey, Redis, Memcached, Varnish, Node.js, Solr, and OpenSearch.Read 7 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Runs on Linux, macOS and Windows.
- Supports bundled Drupal or an existing codebase.
- Includes Xdebug support for web and CLI.
- Mailpit catches outbound email by default.
- Compose workflows and IDE integration are listed.
Limits
- Docker is required.
- Linux also requires Docker Compose.
- Intended for local development, not server deployment.
Who it suits
It suits Drupal developers who want a local environment and can use Docker. Linux users also need Docker Compose; those seeking server deployment are directed to Wodby’s Drupal stack.
Verdict
Docker4Drupal provides a broad local Drupal stack with options for existing codebases, debugging and routing. Its central constraint is that it requires Docker, plus Docker Compose on Linux.
Where Specifiction places it
- Container Development Environments#18 of 407.9