Questions tagged [docker]

Questions relating to the use of Docker Containers to run instances of Sitecore.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to push only updated docker images to Sitecore Managed Cloud ACR

Sitecore XP 10.2 and Sitecore Managed Cloud Containers We are using the CI pipeline to build the docker images and push the images to ACR. While pushing the image to ACR, we are tagging all the images ...
  • 1,807
0 votes
1 answer
22 views

How to define Unicorn configuration for a Helix type serialization folder structure with Docker

I have followed this article https://gist.github.com/cassidydotdk/47eacabd752d7a84e7e5826531fb0f9e The docker site is writing to the C:\unicorn and the mount volume is set to the D:\Sitecore\Source\...
  • 91
0 votes
0 answers
7 views

Error when building container with headless aspnetcore template [duplicate]

Im trying to use the aspnetcore template. When I try to run the up.ps1 script, it completes but gets stuck at the end. So I went into Docker desktop and saw this error in one of the images: After ...
1 vote
2 answers
76 views

Replacing app setting with environment variable in Sitecore managed cloud

Can someone tell me whether it's possible to replace an app setting with an environment variable in Sitecore Managed Cloud? Specifically, we would like to create some rule-based config based on an ...
0 votes
2 answers
76 views

Updating value of env:define when using images across multiple environments

We are currently working on our build pipeline, which compiles our code and creates our cm/cd images, on SC managed cloud (sc 10.2). We have a single image for cm and cd that we deploy to all of our ...
0 votes
1 answer
57 views

Docker service 'cm' failed to build

I am setting up the Sitecore project with docker and getting the following error : Service 'cm' failed to build: Build failed While running the docker-compose build in the Powershell script. The ...
0 votes
1 answer
22 views

launching docker for windows and not able to start

While opening Docker desktop for the Sitecore project it's giving me the following popup with msg: Current operation failed because Window policy "Deny write access to fixed drives not protected ...
0 votes
0 answers
79 views

Getting Dianoga 6 to work with Sitecore 10.2 Docker Containers, JSS with NextJS and SXA

We are on Sitecore 10.2 Docker Containers + JSS with NextJS + SXA and attempting to configure Dianoga 6.0. We have updated the web transform file (Web.config.xdt) for sitecorejss_media.ashx handler. ...
  • 1
2 votes
1 answer
48 views

Can we exclude indexes to check in the /healthz/ready probe used in Sitecore Docker containers or Sitecore Managed Cloud?

In Sitecore Docker implementations and Sitecore Managed Cloud implementations, containers have a liveness probe that determines whether the Sitecore instance is ready and alive. In cases where it ...
  • 14.4k
2 votes
1 answer
34 views

Unable to login to the sitecore.demo.edge site after installing

https://github.com/Sitecore/Sitecore.Demo.Edge This is a docker demo site from Sitecore using JSS and Next.js Unable to log in to the sitecore.demo.edge site after installing, the value in the .env ...
  • 91
0 votes
1 answer
53 views

myproject.localhost throw except because pageTile is null in SitecoreController.cs

I'm running up.ps1 in step 7 of Create the MyProject solution in the Sitecore 10 Getting Started Template. While id.myproject.localhost and cm.myproject.localhost work fine for me, but myproject....
0 votes
1 answer
68 views

Docker can not start myproject_mssql-init_1 and myproject_solr-init_1

I'm running up.ps1 in step 7 of Create the MyProject solution in the Sitecore 10 Getting Started Template. All containers are started except myproject_mssql-init_1 and myproject_solr-init_1 But up....
0 votes
0 answers
35 views

Docker Desktop Image creation failed

I am using Docker Desktop and trying to create the client's Docker images in my local and get this error: Any idea on how to resolve this? Thanks, Samridhi
0 votes
1 answer
48 views

Docker Solr - set facet limit using solrconfig.xml

I am running Sitecore 10.2 in Docker. I have a custom index and need 100 facets from search result. I found a solution in Solr documentation. It suggest to raise a limit by changing solrconfig.xml. ...
0 votes
1 answer
35 views

How to create containers for Helix example

I'm trying to setup the code solution & the Sitecore instance in docker for a helix example, following this article. https://github.com/Sitecore/Helix.Examples/tree/master/examples/helix-basic-...
  • 2,535
0 votes
1 answer
57 views

Unable to install Helix example for Asp.Net Core - MsBuild timeout out while trying to get project to project references

I'm trying to setup the helix example for asp.net core rendering following this article. It's not going past step 12 and shows this error. MsBuild timeout out while trying to get project to project ...
  • 2,535
1 vote
0 answers
66 views

Should redirects / rewrites be done in Traefik or IIS URL Rewrite when using Docker?

I've been involved with a Sitecore upgrade from 8 to 10.2 using Docker. We have some issues with the existing rewrites (such as lowercasing URLs) in the web.config where the site is redirecting to ...
1 vote
1 answer
88 views

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

I am using Sitecore 10.2 and did the local setup by following the below link-- https://doc.sitecore.com/xp/en/developers/hd/200/sitecore-headless-development/walkthrough--setting-up-a-development-...
0 votes
1 answer
96 views

Sitecore 10.2 on Azure Virtual machine

I am new to Sitecore and trying to create a Sitecore development environment. I was planning to build an Azure Virtual machine with Windows 11 Pro N, 16 GB RAM. Just wanted to confirm that If we can ...
  • 1
0 votes
1 answer
38 views

Sitecore Helix .Net Core example publishing/build errors

When making any edits to the cshtml files. I get a bad gateway error on CD and on CM I get a The operation has timed out error. So far the only way to get the sites working again, is doing a docker-...
0 votes
0 answers
90 views

Error faced "Unable to connect to remote server" for Getting Started template for Sitecore 10

I tried the procedure in this link Getting Started for Sitecore 10, but when I run the command .\up.ps1 in powershell I get the following error. Any suggestions on how to resolve this?
  • 45
0 votes
1 answer
37 views

Sitecore Helix .Net Core example CSS not showing up in CM

I am hoping someone has encountered this before. I am working with this helix example - https://github.com/Sitecore/Helix.Examples/blob/master/examples/helix-basic-aspnetcore/README.md and I have a ...
0 votes
1 answer
55 views

Sitecore MVP-Site Docker Error

I am following the readme for the MVP-Site: https://github.com/Sitecore/MVP-Site I am getting the default site coming up and the cm site at https://cm.sc-mvp.localhost/sitecore/ but the https://mvp.sc-...
  • 311
1 vote
1 answer
92 views

Error while installing Sitecore 10.2 xp0 in docker while running docker-compose up -d

I am trying to set up Sitecore 10.2 xp0 in docker but I am getting error when I run the command docker-compose up -d Below is the error I get- Please let me know how can this be fixed. Step 7/11 : RUN ...
0 votes
0 answers
53 views

Logs intermittently missing in Docker

I'm running Sitecore 10.1.2 in Docker. This is logging using Sitecore's log4net.Appender.RollingFileAppender, Sitecore.Logging appender, see the full configuration below. Under load log events are ...
  • 1,174
0 votes
1 answer
141 views

Horizon Docker Image is exiting as a failure with an "Access to the path is denied" error

Trying to setup a vanilla Sitecore XP docker implementation with a Horizon docker image. Everything runs fine except for the Horizon container. The error being provided from Docker Desktop is: ...
  • 14.4k
0 votes
1 answer
406 views

How do you fix an access denied error debugging a dotnet app in a container?

While debugging in Visual Studio I receive the following error: This previously worked but something recently changed to break this. Perhaps related to a change made in Docker Desktop for Windows 4.7....
  • 16.9k
0 votes
0 answers
55 views

How to Debug JSS Import Errors

I am trying to deploy a JSS app to a local containerized Sitecore Instance, but when I call jss deploy items -c -d, I am getting a 400 Bad Request error with no additional information. Is there a way ...
  • 299
1 vote
1 answer
94 views

How to configure a friendly name for the generated user with CLI using non-interactive client login?

Sitecore 10.2: I followed the documentation as described here. Configuration applied to Identity Server and stored at C:\identity\config\sitecore.identityserver.devex.xml <?xml version="1.0&...
  • 16.9k
1 vote
1 answer
200 views

DefaultMediaItemTextExtractor logs an error 'Cannot extract content from media item with id GUID'

Sitecore 10.2 running in Docker Desktop for Windows While crawling content I started seeing tons of errors messages in the Sitecore log: 2080 13:47:43 ERROR DefaultMediaItemTextExtractor: Cannot ...
  • 16.9k
0 votes
2 answers
134 views

Sitecore Docker Installation Issue - A connection attempt failed [closed]

I am trying to set up the Sitecore Docker container but when I try to execute the docker-compose up -d command, the command executes and starts pulling the images but after some time I get below error....
  • 43
2 votes
0 answers
136 views

Sitecore 10 JSS docker setup

I am new to Sitecore JSS but have been doing development using Sitecore for 5 years. I am trying to set up JSS on my docker image. I have been successfully able to update the docker file for CM & ...
0 votes
0 answers
44 views

Getting an error when trying to attach a process to a Docker Container

I am getting an error when I am trying to attach the process to a docker container.
0 votes
1 answer
56 views

Is there any way to specify SQL server version in mssql image?

scr.sitecore.com/sxp/sitecore-xp1-mssql:10.0.1-ltsc2019 image is installing SQL server -v 2014. Is there any way to specify version 2016 or different image tag which will install 2016 ?
  • 485
0 votes
0 answers
96 views

Sitecore.Demo.Platform Lighthouse Demo Build Error

I was trying to Build the Lighthouse Demo using the below command as per the instructions mentioned in https://github.com/Sitecore/Sitecore.Demo.Platform/blob/main/docs/Usage.md: .\build-images.ps1 -...
0 votes
2 answers
206 views

Setup Sitecore MVP website in Sitecore 10.2

I am trying to set up MVP-Site website in Sitecore 10.2 with Docker from this Github url https://github.com/Sitecore/MVP-Site/tree/feature/start-env-script and I am facing the below issue:
  • 1,944
0 votes
1 answer
446 views

Why is there a version mismatch between my docker-compose.yml and the docker-compose.override.yml?

I am going through the tutorial, https://doc.sitecore.com/xp/en/developers/100/developer-tools/walkthrough--using-the-getting-started-template.html and am on step 7. When I run the command, .\up.ps1, ...
0 votes
0 answers
52 views

How do I change the version of the docker-compose.override.yml? [duplicate]

I am following the getting started documentation here, sitecore getting started. At step 7 for Download the Sitecore Docker images and install the containers, I ran the command .\up.ps1 and get this ...
0 votes
1 answer
91 views

Adding a computed field using the Schema API with SolrCloud

Does anyone have any experience adding computed fields to a managed schema? I'm using Solr in SolrCloud mode with 1 node. My Sitecore 10.2 setup uses docker with a solr-init and solr image. I'm able ...
2 votes
1 answer
67 views

How to access Sitecore XM Docker container from another machine using container IP?

We have Sitecore-xp0 setup done on docker from the developer machine(D1). Which can be accessible from the XM hostname and also by XM Container IP address from the D1 machine. We are able to get ...
1 vote
1 answer
92 views

config transformation in docker

We are currently working on migrating our Sitecore solution to docker. Earlier we were utilizing octopus for config transformation between CD and CM server roles and variable replacement between ...
0 votes
0 answers
124 views

Configure remote solr server for Sitecore 10 running on docker container

I have Sitecore 10 instance running on docker. It uses a default solr container, indexing also works fine. But I want to use a remote Solr server (I have configured solr search service in azure). I ...
  • 51
0 votes
0 answers
215 views

ASP.Net Core Docker error: Sqlcmd: Error: Named Pipes Provider: Could not open a connection to SQL Server

Following the Getting Started template tutorial, I have run into this particular error (right in the end, when the containers are starting): When I get docker logs for the first unhealthy container I ...
  • 1
2 votes
1 answer
427 views

Cannot start service traefik: The virtual machine could not be started because a required feature is not installed

I am trying to install Sitecore 10.1.1 with Docker. I am able to successfully pull all docker images with docker-compose pull but when I am trying to do docker-compose up -d, All containers are up ...
3 votes
2 answers
507 views

Creating a custom Solr core using solr-init container in docker

I am using docker approach with Sitecore V10.2. I am trying to create a custom index with it's associated schema. I followed following article as the reference point : Add your custom index to Solr in ...
  • 53
3 votes
1 answer
330 views

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

I have cloned the Sitecore docker examples repository and used docker-compose up to start up the containers. Solr, Sql and Id containers are running successfully, however CM and XConnect are showing ...
1 vote
2 answers
108 views

How to install Sitecore Custom Languages in Containers based deployment

I am looking for inputs to install Custom Languages into Containers based deployment. Generally in ASP.NET MVC application (IaaS) we need to follow steps mentioned at https://sitecore.stackexchange....
0 votes
0 answers
74 views

NuGet update step is failing as private NuGet feed url is inaccessible from docker

We are trying to create a custom image as part of containerizing our Sitecore solution. But it is failing at NuGet restore step. We are using a private NuGet feed which can be accessed only with our ...
0 votes
0 answers
56 views

Progressing Sitecore Helix .Net Core example to Production Build

So I am using the .Net Core Helix example from Nick Wesselman (https://github.com/Sitecore/Helix.Examples/tree/master/examples/helix-basic-aspnetcore/). I have managed to get it all up and running and ...
4 votes
3 answers
1k views

Sitecore 10.2 Docker Deploy exits with Named Pipes Error

I have recently installed Docker Desktop for Windows, version 20.10.10. It is running in Windows Container mode. I am running Windows 10 Pro Version 20H2. I am going through the Sitecore XP 10.2.0 ...
  • 43