⟵ Resources

Sitecore XP 10.2 Initial Release – Installation – Docker Way

CMS for sitecore

This blog post is a summary of my own experience for Sitecore Experience Platform 10.2 Initial Release (e.g Sitecore 10.2.0) installation on my machine with the following install guide:

Prerequisites

  • Windows 10 version 1903 or higher
  • >= 16 Gb of memory
  • Sitecore 10 license file
  • the latest Docker Desktop

Step-by-step Guide

  1. ensure to set up your docker environment by following https://containers.doc.sitecore.com/docs/environment-setup
  2. try to bypass some common network issues by setting DNS servers in the Docker engine configuration:
    • open Docker Desktop and then select Settings => Docker Engine
    • ensure the value of the “dns” key is set to [“8.8.8.8”] if any
    • click Apply & Restart button
    • DNS set to 8.8.8.8 for SC10.2
  3. to avoid any conflicts, we should ensure the following ports are not being used by another process: 443, 8079, 8984, and14330 (Page 6 in Installation Guide for Developer Workstation with Containers)
    • Networking requirements for SC10.2
    • stop IIS
      • Stopping IIS server for SC10.2
    • stop windows services if any
    • quit Skype for sure
  4. create a new folder D:sc1020_install
  5. download and unzip Container Deployment Package
  6. run script to prepare for deployment and initialize the environment file of  Windows Server Core version ltsc2019 and XP Single topology (xp0)
    • adjust D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0compose-init.ps1 if necessary
    • Sitecore and SQL password for SC10.2
    • assume that this file C:licenselicense.xml is available
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • execute .compose-init.ps1 -LicenseXmlPath C:licenselicense.xml
    • Create certificates and adding hosts file for SC10.2
  7. pull Sitecore docker images
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • execute docker-compose pull
    • Pulling and downloading components for SC10.2
    • Pulling components done for SC10.2
  8. spin up the container-based Sitecore instances
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • execute docker-compose up –d
    • Creating Sitecore components for SC10.03
  9. open a browser, navigate to https://xp0cm.localhost/, we would see the default Sitecore page and a valid SSL certificate
    • Connection is secured for SC10.2
  10. open a browser, navigate to https://xp0cm.localhost/sitecore, we should be able to login with the admin user and b password by default
    • Connection is secured and the version is 10.2.0
  11. DON’T FORGET to perform the following thing as well (Page 12 in Installation Guide for Developer Workstation with Containers)
    • Rebuilding search indexes for SC10.2

 Notes

  1. for stopping the Sitecore instances without losing the changes
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • execute  docker-compose stop
    • Stopping Sitecore components for SC10.2
    • start the Sitecore instances again by executing  docker-compose start
    • Starting sitecore components for SC10.2
  2. for data cleanup
    • download ps1 and then put it into D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1020_installSitecoreContainerDeployment.10.2.0.006766.683composeltsc2019xp0
    • execute  docker-compose down
    • execute  .clean
    • Stop and remove components for SC10.03

Happy Sitecore XP 10.2 Initial Release Installation!

This article originally appeared on Walking on clouds (https://buoctrenmay.com/).

Step-by-step guide for Sitecore Commerce 9 installation on your machine

Sitefinity PDF Redirection

Best Email Writing Tips for 2025

Portfolios

Resources

Contact Us

Website Development Company in Singapore white logo
LowCarbonSG Logo
Terms & Conditions | Privacy Policy | Accessibility Statement

Apply Now!

Upload Resume (with a 2mb maximum file size)
Accepted file types: doc, docx, pdf, xps, Max. file size: 2 MB.
This field is for validation purposes and should be left unchanged.