Wiki source code of XWiki with Docker
Last modified by Eleni Cojocariu on 2026/04/29 08:30
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. | ||
| 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 follow this pattern: {{code language="none"}}<version>-<database>-<servlet_container>{{/code}}. There are also some generic tags like {{code language="none"}}latest{{/code}}, {{code language="none"}}stable{{/code}}, or {{code language="none"}}lts{{/code}}. For example: {{code language="none"}}17.10.4-mysql-tomcat{{/code}}, {{code language="none"}}stable-mysql{{/code}}. If parts of the tag are omitted, the following defaults apply: | ||
| 18 | |||
| 19 | * Database: defaults to MySQL, | ||
| 20 | * Servlet container: defaults to Tomcat. | ||
| 21 | For example, the tag {{code language="none"}}17{{/code}} is equivalent to {{code language="none"}}17-mysql-tomcat{{/code}}. If no minor version is specified, it refers to the latest available version in that brench (e.g., ##17.10.4##, if that is the latest in the ##17.x## cycle). |