Friday 25 December 2020

Sitecore 10 update 1 Installation using docker

Recently Sitecore has released latest version 10.0.1 with new updates and improvements.

In this article, going to setup an Sitecore instance using docker.

sitecore-10-update-1


Let's start with Pre-requisites


Pre-requisites

Docker must be installed, running and Switched to Windows Container mode

docker-desktop-windows




Download Container Deployment Package from below link and unzip (at Lets say D:\SitecoreDocker101)

https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/100/Sitecore_Experience_Platform_100_Update1.aspx

sitecore-docker-container


download init.ps1 and paste at D:\SitecoreDocker101\ltsc2019\xp0

run cmd (admin) and trigger iisreset /stop
if any port from docker-compose.yml are is use (
can check by netstat -aon | findstr <portNo> from PowerShell)
then stop that service to avoid any interrupt during installation.


Installation Steps


Open PowerShell as admin and run below commands in sequence

  cd D:\SitecoreDocker101\ltsc2019\xp0

  .\init.ps1  (will ask for instance name, sql password, sitecore admin password and license path)

  docker-compose up -d


Demo

Open docker desktop dashboard view, will see Sitecore-xp0 up and running.

from PowerShell, run below commands

  docker ps (To get container ids for images)

  docker exec -it <container id> ipconfig  (replace with container id of cm server)

copy IP address, and run on chrome

sitecore-10-update-1

Common Issues:

http://succorpoints.blogspot.com/2020/12/error-failed-to-register-layer-rename.html

http://succorpoints.blogspot.com/2020/12/not-able-to-find-network-sitecore.html

http://succorpoints.blogspot.com/2020/12/cannot-start-service-cm-container-is.html

http://succorpoints.blogspot.com/2020/12/container-is-unhealthy-docker.html

2 comments:

  1. Good area that you covered... more details and issues you resolved will be helpful....

    ReplyDelete
    Replies
    1. Yes, there were issues which faced during installation.
      And that I mentioned as separate article.

      I just kept only installation steps in this article.

      Delete