Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Docker4Drupal

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
7.5 Club score Visit github.com

What Docker4Drupal is

Docker4Drupal provides Docker images and a preconfigured Compose file for running Drupal locally on Linux, macOS, and Windows. The repository lists Drupal CMS 2 and vanilla Drupal 11 and 10 images. Its stack can include 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. Developers can start with bundled vanilla Drupal or mount an existing codebase. Traefik routes multiple projects through shared or separate ports, while Mailpit catches outbound email by default. Xdebug supports web and command-line debugging with an IDE such as PHPStorm. Docker is required, and Linux users also need Docker Compose. The project is free, open source under the MIT license, and intended for local development rather than server deployment.

Who it suits

It suits Drupal developers who need a reproducible local environment on a desktop operating system. Teams can use the bundled Drupal setup or connect an existing codebase.

Good to know, and what to watch

  • Free open-source project under the MIT license
  • Supports Linux, macOS, and Windows
  • Includes multiple Drupal image versions
  • Offers databases, caches, search, and web services
  • Supports Xdebug and IDE workflows
  • Docker is required
  • Linux also requires Docker Compose
  • Intended for local development, not server deployment

Docker4Drupal

Free

Free plan

The verdict

Docker4Drupal bundles a broad Drupal development stack with optional debugging, mail, routing, and administration tools. Its local-development focus and Docker requirements should be clear before adoption.

What the maker publishes

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. source
Debugging
The docs describe enabling Xdebug for web and CLI debugging and configuring an IDE such as PHPStorm. source
Developer workflow
The documentation describes using the stack either with bundled vanilla Drupal or by mounting an existing Drupal codebase. source
Drupal versions
The repository lists Drupal CMS 2 and vanilla Drupal 11 and 10 images. source
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. source
Mail
Mailpit is enabled by default to catch outbound email, and OpenSMTPD can be enabled for email delivery. source
Operating systems
The project describes local environment support for Linux, Mac OS X, and Windows. source
Optional tools
The Compose stack also lists tools including Mailpit, Gotenberg, Webgrind, Xhprof viewer, Adminer, phpMyAdmin, Selenium Chrome, and Traefik. source
Purpose
Docker4Drupal provides Docker images and a preconfigured Compose file for running a local Drupal environment. source
Requirements
Docker is required, and Linux users are instructed to install Docker Compose as well. source
Routing
Traefik is used for routing, and the documentation describes running multiple projects through a shared port or different ports. source
Security configuration
The documentation says Solr Cloud initialization enables authentication for Solr Cloud mode. source
Services
The listed stack includes Nginx, Apache, PHP, MariaDB, PostgreSQL, Valkey, Redis, Memcached, Varnish, Node.js, Solr, and OpenSearch. source
Support
The repository directs users to ask questions on Discord and Slack. source

Checked against the maker's pages on 7 Oct 2026.