Written by The Jahia Team
   Estimated reading time:

Docker is the main container technology that helps to accelerate and standardize the deployment of thousands of applications. Jahia leverages Docker in its Cloud offering, and supports on-premise Docker installations, both for development and production purposes.

This topic helps to get you started with the Jahia and jCustomer Docker images and provides best practices for you to gain productivity and proficiency.

Prerequisites

Before using Docker, ensure that you have:

  • A basic understanding of containers
  • Administrator rights on the machine that will run Docker
  • Docker installed. You can download Docker here and follow install steps on the website

There is no need for Java or any other Jahia prerequisites as they are packaged in the Docker container. This highlights one of the advantages of containers.

Note: On Windows and MacOS, Docker is not run natively, and instead executes inside a Virtual Machine. The resources allocated to Docker (for example, RAM and CPU) depends on both your machine’s specifications on the virtual machine’s. They should be set according to your needs. For more information, see the Docker Desktop for Windows documentation or Docker Desktop for Mac documentation.
On both systems, at least 4GB of memory should be allocated to Docker to run Jahia, and 8GB to run the full Jahia, database, jCustomer and Elasticsearch suite.

Jahia Docker images

The following images are available from Docker Hub:

Images Tag example Description
jahia/jahia 8.0.0.0 Multi-purpose Jahia image, suited to running development and production workloads. Compatible with MariaDB and MySQL. The tags without the _fs suffix store the Jackrabbit datastore in the database.
  8.0.0.0_fs The tags with the _fs suffix store the Jackrabbit datastore in a shared filesystem mounted on all Jahia instances.
jahia/jahia-dev 8.0.0.0 Jahia image configured in development mode, running with the embedded Derby database. Does not have external dependencies and can run as a standalone Docker image.
jahia/jcustomer 1.5.1 Multi purpose jCustomer image, suited to running development and production workloads.

To pull an image from Docker Hub, copy and paste this command into your terminal:

docker pull jahia/jahia-dev:8.0.0.0

After executing the command, the image downloads and is available to be run right away.