Sitecore is providing
support on Dockers container officially now with the new release sitecore 10. This
enables organizations to switch over Dockers Container for the development and
production.
Documentation is now
available for the Sitecore Experience Platform 10.0 release:
Download Sitecore Experience Platform 10.0 and related
assets from the Downloads Portal.
Sitecore 10 installation: Prerequisites
Software Requirements
1. Windows 10 1809 or later
2. Windows Server 1809 or later
3. Docker Desktop for Windows
4. Container deployment package from sitecore.
Hardware Requirements
1. Sitecore recommends 32 GB of RAM on Developers
machine. This can be installed on 16 GB RAM machine but you will face
performance/slowness issue
2. CPU should be quad or higher.
3. 25-30 GB of free disk space.
Docker Desktop Installation & Configuration:
1. Install Docker Desktop on Windows from Link
. Docker will be adding an Icon in the windows tray to give you more
flexibility to start/stop and switch as per the OS.
2. Click on the Docker icon in the Windows tray
and select Switch to
Windows Containers. This allows you to work on windows OS. Post this
step you are good from Docker setting prospective.
SC 10 - Installation Preparation
Download Container
deployment package from sitecore and extract to the folder. You will get 2 different
folders but on the developer machine standalone installation we will be using
Itsc2019 folder only and using XP0 topology
Prepare Installation file : Inside the folder ltsc2019\sitecore-xp0, you will
get .env file. It is a vanilla environment configuration file and use in the
container deployment. Docker composer loads this file and read environment
settings during installation. You may update configuration variable manually or
you may execute sitecore provided PowerShell script
to fill environment variable for you.
Please set these two parameter manually in ps
script
· Sitecore admin password (SitecoreAdminPassword)
· SQL Server sa password (SqlSaPassword)
Now your machine is all
set to install sitecore 10 in Docker. You need to execute below few commands to
start sitecore 10 installation.
1) Execute this command prior to executing PS
script,
Set-ExecutionPolicy
-Scope CurrentUser Unrestricted
2) Execute PowerShell Script (change path to
downloaded folder)
You need
to set sitecore license files path while executing the init.ps1 file.
3) PS execution will pop-up for installing
certificate. Please click on “YES”
Now your env. file is ready to use. You can see all the missing
information in the env. file.
4) Execute below command on PowerShell
(administrator) to download the Sitecore container image for Dockers and
attaching those images in the local Docker.
docker-compose.exe
up –detach
it would take around 20-40 minutes to complete depending on your network
speed.
This script will Download -> Pull-> extract -> Install
Once completed the final screen would be look like this.
Docker dashboard will be look like this with all the process are running
Now you can browse your Sitecore CD and CM website now:
·
CM:
https://xp0cm.localhost/sitecore/login
·
CD:
https://xp0cm.localhost
PS: Please stop IIS before installation.