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