Wumple.com

2026/07/09

Enable WordPress multisite with official Docker image

Filed under: — Stormwind @ 3:06 pm

The official WordPress Docker image doesn’t seem to enable multisite by default.

If you use podman to run containers, here is what I had to add to my wordpress-app.container file to pass the environment variables to enable WordPress multisite:

[Container]
...
Environment=WORDPRESS_CONFIG_EXTRA="define('WP_ALLOW_MULTISITE', true ); define('MULTISITE', true);"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

|| RSS 2.0 || Comments RSS 2.0 || XHTML || Powered by WordPress ||