Walkthrough: Adding the SMS module
Sitecore Management Services (SMS) is a module that you must install to support the Sitecore Command Line Interface and Sitecore for Visual Studio.
This walkthrough describes how to:
-
Prepare the Docker images
-
Push the images to the Azure Container Registry (ACR)
-
Change the images in the Application repository
Prepare the Docker images
Prepare the Docker images
To use the SMS module in your environment you must create the following image:
-
cm-sps
To learn how to create a custom image, refer to the Add Sitecore modules topic. Refer to the Sitecore module reference topic for Asset image and Dockerfile instructions. Go to Github for a list with the latest available tags. Make sure to read the information that applies to your specific Sitecore version.
Push the images to the Azure Container Registry (ACR)
Push the images to the Azure Container Registry (ACR)
To push the images to the ACR:
-
In PowerShell, execute the docker push command. You must push all images to the pre-provisioned ACR:
{infrastructure_id}acr
Change the image in the Application repository
Change the image in the Application repository
Now you can add the SMS-specific image for the CM role.
To change the image in the Application repository:
-
In the Application repository, navigate to
config/docker-imagesand, in thedocker-images.jsonfile, replace the cm image value with thecm-smsvalue.Before
After


-
Create and complete a pull request. Because the pull request is completed into the main branch, the Application pipeline is triggered automatically and all changes are deployed to your environment.