Wiki source code of XWiki in Docker
Last modified by Vincent Massol on 2026/07/27 15:33
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Running XWiki with Docker means deploying it as a set of containers instead of installing it manually. XWiki requires a servlet container and a database. The official XWiki Docker image aims at a production-ready XWiki system rather than at the smallest possible image. | ||
| 2 | |||
| 3 | With Docker, these are typically split into multiple containers: | ||
| 4 | |||
| 5 | * one container for the database | ||
| 6 | * one container for XWiki + the servlet container | ||
| 7 | |||
| 8 | This separation allows the database and XWiki application to run on different machines, if needed. | ||
| 9 | |||
| 10 | == XWiki Docker Images and Tags == | ||
| 11 | |||
| 12 | The [[official XWiki Docker Image>>https://hub.docker.com/_/xwiki/]] provides multiple "tags", each corresponding to a specific configuration. Each tag is built from the corresponding ##Dockerfile##. Out of the box, the official image supports: | ||
| 13 | |||
| 14 | * Servlet container: Tomcat, | ||
| 15 | * Databases: MySQL, PostgreSQL, MariaDB. | ||
| 16 | |||
| 17 | The "tag" naming strategy follows this pattern: ##<version>-<database>-<servlet_container>##, for example ##18.5.0-mysql-tomcat##. If parts of the tag are omitted, the following defaults apply: | ||
| 18 | |||
| 19 | * Database: defaults to MySQL, | ||
| 20 | * Servlet container: defaults to Tomcat. | ||
| 21 | |||
| 22 | So ##18.5.0## is equivalent to ##18.5.0-mysql-tomcat##, and ##stable-mysql## to ##stable-mysql-tomcat##. A tag that leaves out the minor or the patch number refers to the latest available version in that branch: ##18## is the latest ##18.x## release, and ##18.5## the latest ##18.5.x## one. There are also generic tags that name no version at all: ##latest## and ##stable## refer to the latest stable release, and ##lts## to the latest long-term-support release. |