A Docker container for mediawiki-core
10.0K
mediawiki-core, therefore it has no skins and extensionsextensions and skins are imported as volumes, so it is possible to maintain both outside of the containerLocalSettings.php exists, mw-config is deactivated and the maintenance update is executed when the container startsimg_auth.php is supported, images are expected under /var/www/data/images in this case (data is a volume, too)The basic pattern for starting a mediawiki instance is:
$ docker run --name some-mediawiki -d docker.io/gbeine/mediawiki:1.42
This image comes without skins and extensions, to allow independent maintenance of these outside of the docker container. It is highly recommended to add volumes accoding this:
$ docker run --name some-mediawiki -p 8080:80 \
-v ./data:/var/www/data \
-v ./images:/var/www/html/images \
-v ./extensions:/var/www/html/extensions \
-v ./skins:/var/www/html/skins \
-v ./LocalSettings.php:/var/www/html/LocalSettings.php \
-d docker.io/gbeine/mediawiki:1.42
Everything else works like with the original image: https://hub.docker.com/_/mediawiki
Content type
Image
Digest
sha256:35bd85e51…
Size
273.5 MB
Last updated
12 months ago
docker pull gbeine/mediawiki:1.39