Sitecore 10 docker installation common issues

Sitecore 10 docker installation common issues

To install Sitecore 10 in your local docker, you can follow this URL provided by Sitecore. This has detailed instructions on the installation process. Not going in-depth about the process. You can follow the instructions or there are plenty of videos available on youtube. Here are some of the links you can follow, I found these very useful.

In this article, I am going to discuss a few points that you need to keep in mind while you are installing Sitecore.

1. Switch to Windows Container

Before starting the installation process, you need to switch to Windows containers. It runs on the Windows container. While you will be running the docker-compose up -d, it will throw the error of Windows Container, if you haven't switched yet to windows container. Right-click on the Docker icon in the taskbar and switch Windows containers.

Swicth to Windows Container


2. Install WSL 2

You might get an error about the installation of WSL 2 if it is not installed already. In this case, simply follow the instruction and install the same from the URL provided. https://aka.ms/wsl2kernel

WSL 2 installation is incomplete

3. Change in the compose file

Before you start running the docker-compose command, do this change in the compose file. Add an extra "\" (highlighted) in the source & target volumes of Traefik settings.

Docker Compose file chnages

4. The paging file is too small

While you are running your docker-compose command to install & start the containers, at the very end, you might get an error stating, "Cannot start service traefik::CreateComputeSystem5c55...:The paging file is too small for the operation to complete".

To resolve the same Go to Control Panel - System and Security - System. Click on the "Advanced system settings" on the left side menu and go to the "Advanced" tab - "Settings". Again go to the "Advanced" tab and click on the "Change" button. Uncheck the Automatically manage checkbox and in the custom size, set the memory. Just over the custom size, you can get the maximum memory size to allocate. Save the changes and run it again.

The paging file is too small

Hope this will help you install Sitecore in Docker smoothly :)







要查看或添加评论,请登录

Arkadeep De的更多文章

社区洞察

其他会员也浏览了