Docker

Docker is a virtualization software that allows administrators and developers to use "containers" to share environments containing software. These containers are isolated from other software running on the same computer. Docker is one way to deploy and run MediaWiki.

The Docker SIG is a Special Interest Group for people working with MediaWiki and related technologies on Docker.

Official environment for simple development
There is an official docker environment for MediaWiki that is included in MediaWiki itself, starting with MediaWiki 1.35.

This environment has been built for simple experimentation, development, and testing of proposed changes to MediaWiki core. It is designed to be particularly simple and easy to use, and intended particularly to be a good option for newbies, be they testers, designers, developers, or others who have not yet invested a great deal of their time in setting up local environments.

To get started, please read the instructions, available inside the MediaWiki repo at. Note: use the command to download the latest version of MediaWiki core from Git without the tag.

There are a number of recipes you can explore to see how to set up various settings and extensions.

If you run into any issues, please file a task at https://phabricator.wikimedia.org/tag/mediawiki-docker/.

Official image for complex development
We know that there are number of people who need a more complex, configurable, and powerful development and testing environment, even up to being a "Wikimedia production-like" state. The simple environment is not suitable for that use case; we plan to provide a more configurable and thus more complex, "heavy-weight" alternative for that use case in the future. You may wish to follow our work in Phabricator. https://phabricator.wikimedia.org/tag/local-charts/

In the mean time, please see below.

Official images for hosting
It is likely that official MediaWiki releases will be made in Docker image form in the future, but these have not been committed to yet.

Wikimedia production will be moving to use Docker images as part of the "Streamlined Services Delivery" program for continuous deployment, early versions of which are published, but these are bespoke and will not be useful for third parties.

In the mean time, please see below.

Other available images
There are a number of unofficial MediaWiki docker images.

In the mean time, there are several sources of other possible images shown below; you should use these at your own risk:


 * The initially-run-by-Docker "official" repository for MediaWiki is described at Docker/Hub; despite the label, these are not official and not supported.
 * The MediaWiki-Docker-Dev project has builds
 * https://github.com/niedzielski/boxwiki
 * https://github.com/rlewkowicz/docker-mediawiki-stack/tree/REL1_28
 * https://github.com/pastakhov/compose-mediawiki-ubuntu (MediaWiki + Memcached + Parsoid + RESTBase + Elasticsearch + Vagrant).