facing the issue failed to solve: mcr.microsoft.com/windows/nanoserver:xxxx

Trying to setup the Sitecore JSS with nextJS using full stack Sitecore First development and faced the issue failed to solve: mcr.microsoft.com/windows/nanoserver:1809 during the docker images pull/build.

This happens that when you have installed the Docker for Desktop application then by default it run the containers in Linux mode.

So, you have to right click docker desktop application icon in the system tray and select the switch to windows containers option. 


When you select it then vice versa option will be enabled for Linux, as in SS above, this means that now docker is setup to run the containers in windows.

Now try to pull the docker images again. It should work

Creating Solr core for sitecore using command prompt

We setup the solr cores using command “C:\solr8985\sc103solr-8.11.2\bin>solr.cmd create -c sitecore_sxa_web_index -d sitecore_configset” ...