Hot answers tagged

17 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.
user avatar
  • 5,055
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 ...
user avatar
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 ...
user avatar
11 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 ...
user avatar
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 ...
user avatar
9 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 ...
user avatar
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 ...
user avatar
  • 171
9 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 ...
user avatar
  • 5,055
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 ...
user avatar
8 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 ...
user avatar
  • 741
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 ...
user avatar
8 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 ...
user avatar
8 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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 24.3k
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,...
user avatar
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-...
user avatar
  • 24.3k
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 ...
user avatar
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 ...
user avatar
6 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 ...
user avatar
  • 24.3k
5 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: "...
user avatar
  • 741
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 ...
user avatar
  • 5,055
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 ...
user avatar
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 ...
user avatar
  • 24.3k
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 ...
user avatar
  • 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 ...
user avatar
  • 550
4 votes

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

I had the same error. You can list enabled security protocols with the following command: RUN [Net.ServicePointManager]::SecurityProtocol If you don't see Tls 1.2 (at the moment this is the lowest ...
user avatar
4 votes

ERROR: Container is unhealthy

1. VPN turned on Turned on VPN can also cause problem when starting up docker. Try to turn off your VPN and recheck, although I don't know the exact reason why VPN is a problem. 2. SQL password For me ...
user avatar
4 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 ...
user avatar
4 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 ...
user avatar

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