Hot answers tagged

20 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.
  • 5,235
16 votes
Accepted

ERROR: for traefik Container "c76ca635f085" is unhealthy. Sitecore docker installation Issue

The traefik container depends on the health of CM, CD. What I suggest you first check the health of these containers (use the command "docker ps"). After running this command if you find out ...
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 ...
13 votes
Accepted

Sitecore containers exit with "Failed to update IIS configuration" error

This error is due to an issue with Service Monitor which affects Sitecore containers based on Windows Server Core LTSC2019. The original entrypoint for the Sitecore CM container in 10.0 used ...
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 ...
  • 5,235
11 votes
Accepted

Identity server container fails to launch due to license error using headless Getting Started project in Sitecore 10 docker

Have you previously worked with older versions of Sitecore with Docker? If so, you may still have an environment variable floating around with an invalid license. The getting started project appears ...
11 votes
Accepted

pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified while installing Sitecore Docker images

This has happened because "Docker Desktop" was not running on my machine. I started "Docker Desktop" and execute the script again. I was able to install a sample project for ...
10 votes
Accepted

ERROR: Container is unhealthy

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 ...
9 votes
Accepted

How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?

You mentioned in comments that you're getting an error—this is because there is no tag in my docker hub repository. I wouldn't know which version of Sitecore latest should be build against: 8.2 or 8.1 ...
9 votes

Sitecore 10 docker containers can't communicate to each other

It looks like it might be related to security policies within our company as I've been able to reproduce the same behaviour on other machines within the company. And it's working OK on non-company ...
  • 791
9 votes
Accepted

SItecore 10 docker build solution issue - Invoke-Expression

The solution for this issue was to add SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] before first RUN ...
  • 461
9 votes
Accepted

How should a sitecore hotfix be applied to a Sitecore Docker image?

If the hotfix contains both files and items, I think it should be installed as if it were a module, following the documented approach in the Add Sitecore Modules section of the Sitecore official ...
8 votes
Accepted

How to connect Sitecore Rock to sitecore instance on docker?

I haven't personally used it yet, but I was able to connect successfully Sitecore Rocks with a Sitecore instance running on a cm service container following these steps: 1) If not done yet, add a ...
8 votes
Accepted

Docker-Compose up -d failed to create endpoint sitecore-xp0_xconnect_1

thanks, it actually helps to find root cause of this problem. It was port related issue, since port was already in use. And to verify that all ports mentioned in docker-compose.yml is not in use by ...
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 ...
8 votes
Accepted

Why does my asset image have .dat files instead of .dacpac files?

These .dat files are in fact "protobuf" files. This is a new addition to Sitecore 10.1 which enables it to consume items directly from the file system, organised in the manner you describe ...
  • 24.7k
7 votes
Accepted

Sitecore with Docker and TDS

You cannot mount a volume to an existing directory inside your container on Windows Docker. You need to map up a new directory and then use some means of moving the files to the destination you ...
  • 24.7k
7 votes
Accepted

How to install Horizon on Sitecore 10 on Docker?

The Horizon asset images currently listed in the /community/modules namespace of the scr have issues that the product team is helping us fix. We will push updated asset images once the fix is in place,...
7 votes
Accepted

Sitecore 10.2 Docker Deploy exits with Named Pipes Error

You're running in Docker Compose V2 mode. Run the following command: docker-compose disable-v2 Ref: https://stackoverflow.com/questions/68010612/error-response-from-daemon-unrecognised-volume-spec-...
  • 24.7k
6 votes

Remote name could not be resolved 'dist.nuget.org'

That might be related to your firewall settings. One of the things you can try is to add custom DNS to Docker engine config file. You can use the Google one - 8.8.8.8 The format is as following: "...
  • 791
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 ...
6 votes
Accepted

Where can I find Docker Images for the different Sitecore Installs?

UPDATE March 2018 Docker is still not supported, but you can find some base images here: https://github.com/Sitecore/docker-images This repository was created by combining efforts / assets from ...
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 ...
  • 5,235
5 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 ...
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 ...
5 votes
Accepted

Add SPE module to custom Sitecore Docker Image

You need to change your DockerFile. To this: # escape=` ARG BASE_IMAGE ARG SXA_IMAGE ARG SPE_IMAGE ARG TOOLING_IMAGE ARG HORIZON_INTEGRATION_ASSETS ARG HORIZON_ZENITH_ASSETS ARG ...
  • 24.7k
5 votes

Error when starting CM and XConnect containers from docker examples custom-images

I fixed this by escaping the file path with double backslashes in docker-compose.override.yml i.e. C:\\tools\\entrypoints\\iis\\Development.ps entrypoint: powershell -Command "& C:\\tools\\...
  • 59
4 votes

How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?

UPDATE: Mongo has now released official images: https://hub.docker.com/_/mongo/! As far as I know, no one has created public Windows based images solr yet... That said, it should be pretty easy to ...
  • 141
4 votes
Accepted

How to deliver changes to a Sitecore instance deployed in a Docker container

A new Docker image must be created. This new image will inherit Sitecore base images. You may have different Dockerfile files for different purposes. One could be for debugging and other could be for ...
  • 550
4 votes

Remote name could not be resolved 'dist.nuget.org'

I had this similar error and none of the above solutions worked. As a workaround, I tried the below steps: Downloaded nuget.exe, manually using this https://dist.nuget.org/win-x86-commandline/v5.6.0/...

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