Docker Run for XWiki
Explanation
Docker Run allows you to start containers manually by executing individual docker run commands. Instead of using a single Compose file (as Docker Compose), you create the required containers yourself and define their configuration through command-line options. With this approach, you manage each component separately.
A standard XWiki setup requires:
- one container for XWiki
- one container for the database (MySQL, MariaDB, or PostgreSQL)
Both containers must be connected to the same Docker network so that XWiki can reach the database.
To preserve data across container recreations, it is recommended to mount volumes or host directories for:
- the database data directory
- the XWiki permanent directory (/usr/local/xwiki)
With Docker Run, you can start XWiki with the following supported database configurations:
- Run XWiki (MySQL on Tomcat) using Docker Run
- Run XWiki (MariaDB on Tomcat) using Docker Run
- Run XWiki (PostgreSQL on Tomcat) using Docker Run
More
To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.