Deploy a Sitecore XP pre-release using Docker

Since Sitecore XP 10.1.0, Sitecore distributes pre-releases of the next update release to provide customers with fixes for their hotfix requests. The pre-releases are cumulative, and each pre-release contains all the changes that were implemented in the earlier pre-releases in that series. These pre-releases are then all rolled into the next update release, for example, Sitecore XP 10.1 Update 2.

Every pre-release is based on the latest Sitecore XP release.

For example, if a customer is on Sitecore XP 10.1.0 and we have already released Sitecore XP 10.1.1, when the customer requests a hotfix from Sitecore Customer Support, it is delivered in a pre-release for Sitecore XP 10.1.2. To get this hotfix, the customer must update to Sitecore XP 10.1.1 and then apply the Sitecore XP 10.1.2 pre-release that contains the hotfix.

Install a Sitecore XP pre-release with Docker

The pre-release package contains all the resources that you need including a Sitecore.Platform.Instructions X.X.X rev. XXXXXX file that can contain specific instructions for your version of Sitecore if they are required.

The following example describes how to add a delta asset image to the Sitecore XP Scaled (XP1) topology.

Apply the Sitecore runtime images for Docker

To install the latest pre-release with Docker:

  1. In the pre-release package, locate the Released-images-sxp-pre-*.json file for the Sitecore topology that your solution uses.

    The image contains all the required resources and has the following file structure:


  2. To update your runtime image for a Sitecore server role, add the required instructions to your Sitecore runtime Docker files. They will then use the resource files to apply the hotfix to your Sitecore installation during your custom image build process.


    You must use the delta asset image for the Sitecore XP topology that your solution uses.

Add the Dockerfile instructions

You must add Dockerfile instructions for each Sitecore sever role.

To add the Dockerfile instructions for the Content Management (CM) role, on your solution, open the Sitecore runtime Dockerfile for the CM role and add the following instructions to pull the image:



FROM ${DELTA_ASSET_IMAGE} as deltaAssetImage

To copy the delta asset image to the correct path defined in your custom image, add the following instructions:

# Copy cm resources

COPY --from=deltaAssetImage \platform\cm \

Configure in Docker Compose

If you don’t have a Docker Compose file, you must create one.

If you already have a Docker Compose file, you must create a docker-compose.override.yml file – that will update the Docker Compose file – and store it in the root of the folder where you store your custom Sitecore images.

To configure the custom image for the CM role in Docker Compose, add the following code to the to the Docker Compose file or to the docker-compose.override.yml file:

    context: <localion for the


You must repeat this process for every server role in your topology. The name of the server role must be the same as is used in the Docker Compose specifications for the services.

Apply the Sitecore runtime images in AKS

To apply the delta asset image in AKS, repeat all the instructions for Docker and then copy the image to your custom solution in the k8s specification.