22 votes
Accepted

Why won't Visual Studio load symbols when attaching to a container's w3wp process?

You need to set the code type to Managed (.NET 4.x) code in the Attach to: section of the Attach to Process dialog in order for debugging to work. Automatic does not load symbols.
Dan Sinclair's user avatar
  • 5,305
15 votes
Accepted

Does Sitecore have support for Sitecore products in containers?

While currently Sitecore cannot provide guidance on how to develop or host them in a containerized environment other than those examples, but if you are hosting a Sitecore solution within a ...
Tamas Varga Sitecore's user avatar
12 votes
Accepted

Local Sitecore containers unable to access Docker DNS

After a lot of research and troubleshooting, we were able to resolve this issue. It is caused by a group policy setting which prevents Docker from setting up Windows firewall rules necessary to pass ...
Dan Sinclair's user avatar
  • 5,305
8 votes
Accepted

How do the xConnect Docker containers correspond to the Azure xConnect app services?

For Azure PaaS infrastructure: Looking at the Azure AppServices packages for a scaled XP solution, you will find that that the following three workers are deployed in their correlated app services and ...
Alessandro Faniuolo's user avatar
6 votes

Docker-Compose up -d fails with unhealthy xconnect and cm

I faced this issue too during installation. Try the below steps: Run docker-compose stop on Powershell. Run docker-compose down on Powershell. Now run iisreset /stop on Powershell to make sure that ...
Vinay Jadav's user avatar
6 votes
Accepted

Error viewing JSS app: Item has already been added. Key in dictionary: 'PSMODULEPATH' Key being added: 'PSModulePath'

This is a known issue with IIS ServiceMonitor, which is used as an entrypoint for Docker images: https://github.com/Microsoft/IIS.ServiceMonitor/issues/32 ServiceMonitor copies environment variables ...
Vitalii Tylyk's user avatar
5 votes
Accepted

Issue browsing CM Sitecore container

I had this problem on my local. I had all containers green in docker desktop, but got the same error as you. Even after I restarted Docker, it still did not work for me. I have an on-prem version of ...
John Banks's user avatar
5 votes
Accepted

Docker-Compose up -d fails with unhealthy xconnect and cm

Quick fix This turned out to be a permissions issue that prevented the ShardMapManager database (and accompanying shard databases) from being installed. To fix it, I needed to give the NETWORK SERVICE ...
Dan Sinclair's user avatar
  • 5,305
4 votes
Accepted

Sitecore Docker Development Image for MS SQL Server 2019

You should build your own custom Windows based SQL Server image, targeting the desired version. The following steps describe how to do it, targeting MS SQL Server 2019. Step 1 - Create a dockerfile ...
Alessandro Faniuolo's user avatar
4 votes

Error on mssql-init container during the deployment of Sitecore to AKS

There were linefeed characters in the secret files. Removing the linefeed characters resolved the issue and the sql server was reachable. Once you remove the line feed characters from the files, you ...
Prasanth Nittala's user avatar
3 votes

SItecore XP 10 on Docker: how to install a package when the bin/ folder is read-only?

The sitecore.aspnet.gettingstarted didn't install SXA to the Sitecore XP0 instance, so I needed to modify the docker files in order to add SPE and SXA to my images. Here is how to do it, if anyone is ...
Olivier Michel's user avatar
3 votes

Sitecore Commerce installation fails in Docker

Checking the official Sitecore images tags list, it seems that the sitecore-xc0-solr-init image is missing. You should open a ticket with Sitecore Support to let them know that it is missing. In the ...
Alessandro Faniuolo's user avatar
3 votes
Accepted

Sitecore Docker containers stop unexpectedly after a few minutes

Depending on your version of VMware Tools in the Windows OS (mine was 11.0.5), you need to disable VMware's appinfo plugin. On your Docker host, open an Admin PowerShell prompt and run the below ...
Dan Sinclair's user avatar
  • 5,305
2 votes
Accepted

Install certificate to store on container

Assuming you have a certificate in pfx format and you know its password (if the certificate is password protected), you can install it in the image of your container when you build it, copying the ...
Alessandro Faniuolo's user avatar
2 votes

When creating a new solution do I have to run the .\init.ps1 command again to prepare the container environment?

Firstly, you need to run the PowerShell in Admin mode and check the path of the license file. you need to add "license.xml". As shown in below screenshot. Hope this helps! Thanks, Yamini
Yamini Punyavathi Muttevi's user avatar
2 votes

Sitecore MVP-Site Docker Error

The logs show the following issue [2022-06-04T14:15:23.127079600Z][com.docker.proxy.exe][E] cannot rewrite volumes: &errors.errorString{s:"mount denied:\nthe source path \"\\\\Projects\\\...
Vadzim Papko's user avatar
2 votes

ERROR: Service 'dotnetsdk' failed to build : Build failed

In order to fix this error, you should move to Windows containers. Right-click the Docker Whale icon Choose "Switch to Windows containers..." Hit "Switch". If the process fails, ...
Sumit Bhatia's user avatar
  • 4,472
2 votes
Accepted

Error getting SSL certificate - Nginx Ingress Controller (Kubernetes)

It looks like you have done most of the steps correctly. However, the error logs indicate that the Ingress Controller isn't able to find the SSL certificates even though they are present in the same ...
Vadim Birkos's user avatar
1 vote

Cumulative hotfix for Sitecore XP 10.2 - Container

The first step is to download the Sitecore pre-release or hotfix package. You can do this from the Sitecore website or by contacting Sitecore support. Save the package to a local directory on your ...
Raman Gupta's user avatar
  • 2,339
1 vote

Am I wrong or the horizon-integration-xp1-assets:3.0.0-ltsc2022 is missing the module/db folder?

Could the issue be related to the fact that Sitecore 10.1+ now supports Items As Resources or IAR? There may no longer need to be a folder for database files when the items are stored in .dat files.
Michael West's user avatar
  • 17.8k
1 vote

Sitecore Docker exited with code 1 while setting Sitecore admin password

I believe the key is the error line: 2023-03-06 23:48:23 Error SQL72014: .Net SqlClient Data Provider: Msg 5118, Level 16, State 1, Line 1 The file "C:\data\Sitecore.Core_Primary.mdf" is ...
Jason's user avatar
  • 185
1 vote

The remote name could not be resolved "rendering" error in experience editor

There could be many different reasons. Run docker container ls -a, and it will list all containers. Find the ID of rendering component. Then run docker container logs [ID for rendering component]. It ...
Anton's user avatar
  • 3,751
1 vote

How can I deploy custom config files to an Identity Server container?

You would need to build a custom Sitecore image for the Identity Server: https://doc.sitecore.com/xp/en/developers/102/developer-tools/building-custom-sitecore-images.html You need a project with your ...
Gatogordo's user avatar
  • 19.8k
1 vote

When creating a new solution do I have to run the .\init.ps1 command again to prepare the container environment?

Yes, you have to open the powershell in Admin mode. Try to run the clean script from (clean.ps1) the folder first. It might be a folder deep (depending on how your folder is structured). This will ...
Mhoque's user avatar
  • 113
1 vote
Accepted

Getting Started Template - File in use by another process

Turns out this is a known bug in Docker Windows. https://github.com/moby/moby/issues/42803 I can run the rendering host on the Docker host (from Visual Studio or dotnet CLI) as an alternative, then ...
Joe Dearsley's user avatar
1 vote

Sitecore 10 MVC Multisite Container Architecture?

Everything done here was in v10.1 xp0 MVC container topology installation which is minimal for a dev. It is definitely NOT using the remote rendering host architecture. Also not using SCS, K8, Helix ...
roby's user avatar
  • 11
1 vote

Local Sitecore containers unable to access Docker DNS

Had the same issue, related to the DNS issues caused by company's firewall policies. In our case adding .local token to the hostnames solved it. For example, if the ${SQL_SERVER} variable equals mssql,...
DolceVita's user avatar
  • 111
1 vote

Docker-Compose up -d fails with unhealthy xconnect and cm

We ran the getting-started docker scripts and everything seemed to go well, but when starting the containers that were the message we got also. Our issue ended up being resolved by stopping IIS on our ...
AmoebaMan17's user avatar
1 vote

Docker-Compose up -d fails with unhealthy xconnect and cm

Possible root cause: In default init.ps1 in docker-example repository, SqlSaPassword does not meets SQL complexity requirements. Troubleshoot First of all, check the logs by running this command: ...
Raman Gupta's user avatar
  • 2,339
1 vote

Docker-Compose up -d fails with unhealthy xconnect and cm

In addition to the correct answer: It is worth noting that running a clean on the host directory can help, especially after granting NETWORK SERVICE full access to the MSSQL directory as the databases ...
badstyle's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible