Author : Raman Gupta
Sitecore Architect
15/Oct/2020

Raman is a Sitecore Certified Professional with over 6 years of development and implementation experience of Multi-Lingual and Multi-Site architecture design and implementations. He is proficient in project execution using agile methodology as a Scrum master with an expertise in DevOps principles as well.


Step-by-Step Installation of Sitecore 10 on Docker Desktop

Introduction

One of the highlights of the newly released Sitecore Experience Platform (10.0) is that it brings support for rapid deployment and more efficient solution and team onboarding with modern Docker technology i.e. Sitecore Containers. Sitecore, with the launch of its Sitecore XP 10, will now be providing full support for deploying solutions in containerized environment. There are already excellent and detailed resources available online that cover the concepts of containers and Docker thoroughly. In this blog, we will briefly cover the overview of the topic and step-by-step installation of Sitecore 10 docker.

Prerequisites:

To run Docker on Windows 10, you will need the following:

  • Windows 10 Professional or Enterprise version 1809 (2019 LTSC) or later
  • Hyper-V enabled
  • Docker Desktop Installed on Windows Desktop
  • Docker Desktop support for windows containers
  • 32 GB of RAM, Quad core Processor CPU
  • Approximately 25GB of free disk space for Sitecore container images. SSD storage is highly recommended for optimal performance
  • The default Sitecore container configuration uses specific ports. To avoid any conflicts, you should ensure the following ports are not being used by another process: 443, 8079, 8081, 8984, and 14330

Additional files:

  • Init.ps1
  • Docker-compose.yaml
  • Env file

Installation Step:

Once prerequisites are met, the installation itself is quite simple.

  • Enable Windows Feature for Windows Containers:
    • Run PowerShell as admin
    • Run this command
    • Enable-WindowsOptionalFeature -Online -FeatureName $(“Microsoft-Hyper-V”, “Containers”) -all

    • Powershell will prompt for system restart. Don’t do it yet
  • Download and Install Docker Desktop for windows (Stable or Edge) from here
  • Now restart Windows Desktop
  • Right click docker icon in the right bottom panel, select "Switch to Windows containers"

Step by step installation of sitecore10 on docker desktop1

  • Download Sitecore 10 Container deployment package from dev.sitecore.net (needs Sitecore account)
  • Copy and extract SitecoreContainerDeployment 10.0.0 rev. 004346-027.zip for e.g:- C:SitecoreXPDocker
  • We’ll use the XP0 topology for this demo
  • Add init.ps1 and docker-compose.yaml files (custom files)
  • Open Powershell.exe (not ISE) as admin
  • CD into the folder of Sitecore 10 Container Deployment Package and to the desired topology
  • Execute
    • .\init.ps1 -LicenseXmlPath $licensePath –SitecoreAdminPassword $AdminPwd -SqlSaPassword $sqlPwd
    • $licensePath is the path to a valid License.xml file
    • This script will set up all the environment variables in .env file

    • Execute Docker-compose up - detach

    • This should pull images from Sitecore Docker Repository
    • After pull, extraction of images is complete. The containers will be deployed

    • The scripts should run for 20 mins and instance should be ready to use

Step by step installation of sitecore10 on docker desktop2

Open Docker Dashboard and you should see Sitecore-XP0 running

Step by step installation of sitecore10 on docker desktop3

Browse to CMS

Step by step installation of sitecore10 on docker desktop4

How to get into wwwroot of docker containers?

  • Execute this to get the list of containers:
  • “Docker ps”
  • Note the container name
  • Execute this to take powershell session of the container
  • docker exec -it $containerName powershell

How to log into SQL Server using SSMS?

  • Note down the port number of SQL Container
  • Open SSMS, Enter “localhost, portNumber” in server and login with sa credentials

Download Installation Guide

Installation Guide : Installation Guide

.Init File : Installation Guide



MORE FROM OUR BLOGS

Delivering Consistent And Compelling Customer Communication With Self Serve Communication Portal

Delivering Consistent And Compelling Customer Communication With Self Serve Communication Portal

Supporting & Building Digital Solutions for Improving Customer Experience

Espire upgraded their existing corporate website to Sitecore version 9.1 for streamlining navigation issues, upgraded their E-commerce platform for delivering personalized customer experiences, deployed Sitecore technical enhancements to improve development process like refactoring, Unicorn, Glass mapper and T4templates, Search etc

A Leading Offender Management Software Solution Provider Gains the Competitive Edge of Agility

The client is a leading provider of offender management product, catering to the Governments sector mainly to Canada, USA and UK. With the aim of becoming agile by automating the internal processes and modernizing the systems, the client decided to develop an application to assess their end-client’s business process environment.

Powering Digital Transformation by revamping Quote & Buy process for a UK based leading Insurance company

Espire enhanced the existing Digital Transformation Journey using Umbraco CMS,Designed and implemented Umbraco based system for content management of the forms and modules

A Complete guide to upgrade to sitecore xm cloud why when and how

Sitecore XM Cloud's composable architecture allows organizations to create and manage personalized digital experiences for their customers, increasing engagement and conversions. With its cloud-based delivery model, Sitecore XM Cloud eliminates the need for organizations to maintain on-premises infrastructure, providing a cost-effective and secure solution for managing digital customer experiences

Leveraging composable architecture to drive unforgettable digital experiences

A composable architecture allows the application to adapt to the speed of business while enhancing responsiveness and scalability, paving the way towards driving greater business growth. In our latest blog, we share the benefits of leveraging a composable microservices-led architecture for business applications.

Top 10 strategic technology trends for 2023 by gartner Part2

In our first blog on Top 10 Strategic Technology Trends for 2023 by Gartner, we had discussed the top 5 technology trends that will enable businesses to offer customized experiences to the end users for better engagement, ROI, conversion, and sales. As a concluding part of this 2 series blog, we will enlist and discuss the next 5 disruptive tech trends to be witnessed in 2023 such as Wireless value realization, Superapps, Adaptive AI, Metaverse and Sustainable technology.

Top 10 strategic technology trends for 2023 by gartner Part1

The pace of change is accelerating, driven by emerging technologies such as artificial intelligence, the Internet of Things, big data and blockchain-all of which are changing how we work, live, and manage our businesses. In this blog, Part 1 of the top 10 strategic technology trends for 2023, we will be exploring the top 5 trends identified by Gartner, which can significantly contribute to your success story.

Subscribe To Our Blog

By clicking on "SUBSCRIBE NOW" you acknowledge having read our Privacy Notice.

global-locations

12

+

Global Locations

global-services

100

+

Global Customers Served

resources-certified

1200

+

Resources

technology-partnerships

30

+

Technology Partnerships

years-of-experience

20

+

Years of Experience in Digital Transformation & Total Experience

Speak to Our Digital Transformation Specialists

Let's get you started on the digital-first & transformation journey. Reserve your free consultation or a demo today!