Questions tagged [docker]
Questions relating to the use of Docker Containers to run instances of Sitecore.
150
questions
1
vote
1
answer
47
views
Single web.config file for all the environments and need to have environment variables for redirection rule path
Planning to migrate to containers, wanted to maintain a single web.config file by using config builder all the app settings are being handled through environment variables along with this we have ...
0
votes
1
answer
45
views
Sitecore Docker exited with code 1 while setting Sitecore admin password
While running up.ps1 in step 7 of Create the ScNext(MyProject name locally) solution in Walkthrough: Setting up a development environment with the Sitecore Containers template for Next.js, container ...
0
votes
0
answers
64
views
mssql-init container not able to connect with mssql container
While trying to setup XMCloud in local, mssql-1 container is build and is healthy. mssql-init container throws the below error
2023-03-05 11:12:01 Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL ...
0
votes
2
answers
81
views
NodeJs Container Build in Xmcloud Foundation head
Trying to work through the xmCloud Foundation head - https://github.com/sitecorelabs/xmcloud-foundation-head-staging#deploy-to-xmcloud and install locally using Docker. But getting this error on ...
0
votes
1
answer
60
views
The term 'Write-SitecoreDockerWelcome' is not recognized as the name of a cmdlet, function
We're trying to init docker on a new dev machine however we're running into issues... it appears that sitecore docker tools is not installing?
The error is
Installing SitecoreDockerTools...
Importing ...
0
votes
1
answer
158
views
Error while installing Sitecore in docker [duplicate]
I am trying to setup Sitecore 10.3 with docker containers.
While trying to run the .\up.ps1, I am facing below error with the certificate while building the containers:
Unable to load the service ...
2
votes
1
answer
323
views
How to build custom docker images with a specific network?
While building custom images (like extending the cm) I've seen various networking issues when on VPN. I noticed that containers can reach the internet with docker compose up but the same resources can'...
0
votes
0
answers
35
views
xm-cloud-introduction_mvp-rendering_1 Cannot start service mvp-rendering: The system cannot find the file specified
I had successfully install and deploy my XM Cloud application in my local container and i was able to use it. After a month, i tried to bring my application back in running and tried to execute .\up....
1
vote
0
answers
174
views
Facing Redis connectivity issue in the sitecore docker container
I am facing the following error while establishing a connection with Redis in the docker container.
{"Message":"An error has occurred.","ExceptionMessage":"Timeout
...
1
vote
1
answer
151
views
Sitecore 10.3 XC0 Docker - "The container operating system does not match the host operating system"
OS: Windows 11 22H2 22621.963
Docker version 20.10.21, build baeda1f
Docker Desktop 4.15.0 (93002)
I downloaded the 10.3 XC SDK container files. I ran the ComposeInit.ps1 for the xc0 topology without ...
0
votes
0
answers
22
views
Setting up a development environment with the Sitecore 10.3 Containers template for Next.js [duplicate]
I tried to setup development environment with Sitecore 10.3 Container temmplate Next.js.
I follow this url : https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--...
0
votes
0
answers
168
views
Docker Invoke-RestMethod : Unable to connect to the remote server
I am trying to run the Sitecore 10.2 project in Docker.
I ran .\init, After that I ran .\build -topology xp1 -buildConfiguration debug
Then ran .\up -topology xp1 so while I am running .\up -topology ...
0
votes
1
answer
134
views
Docker: ERROR: [doc=sitecore://master/] unknown field 'schedule_t_en'
I am trying to generate Docker images for xp1 and for that I performed below steps:
I ran .\init.
After that I ran .\build -topology xp1 -buildConfiguration debug
Then ran .\up -topology xp1
but xxx-...
2
votes
1
answer
88
views
I can't access images from my containerized jss app but I can access them from outside, from my host (10.2 - with docker)
I'm rewriting the problem, to put more details.
I set up a jss app in a docker container. It's working fine, even the Experience Editor has already been put to work in this environment.
It turns out ...
0
votes
0
answers
38
views
How to convert Sitecore Docker Container localhost url to public url
I am trying to deploy Sitecore NextJs on Vercel but for this we need public url. So, how we can get public url through ngrok?
0
votes
1
answer
63
views
problem with establishing connection with Container website with TDS
facing issue with establishing TDS connection with container website.
i already setup local instance using https://github.com/Sitecore/docker-examples/tree/develop/custom-images its is working fine. ...
1
vote
0
answers
44
views
Unable to debug Sitecore 10.2 docker containers-msvsmon process is not getting enabled
The msvsmon process is not enabled, so I cannot debug the docker container. Does anybody have any idea how to enable this process?
2
votes
1
answer
81
views
Where is Production.ps1 script in Sitecore docker images?
This document https://www.sitecore.com/knowledge-center/getting-started/docker-entrypoints
describes two PowerShell scripts used as ETRYPOINT, named Production.ps1 and Development.ps1.
They should be ...
3
votes
1
answer
150
views
Is it possible to give a different hostname than xmcloudcm.localhost to the xmcloud docker container?
By default the CM_HOST value in the init.ps1 file of a XM Cloud project is set to xmcloud.localhost. I want to change this name to, for example xmcloudserge.loca.lt.
If I change the name I get a ...
2
votes
1
answer
114
views
XM Cloud locally with docker compose gives: unable to verify the first certificate
I have XM Cloud running locally in a docker container. This means with self-signed certificates.
When I use JSS to create and deploy the JSS Style guide application, I keep getting the following error ...
1
vote
0
answers
45
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 ...
0
votes
1
answer
58
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\...
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
332
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
90
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 ...
1
vote
1
answer
165
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
72
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
131
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.
...
3
votes
1
answer
125
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 ...
2
votes
1
answer
61
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 ...
0
votes
1
answer
144
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
269
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
43
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
84
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
55
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-...
0
votes
1
answer
112
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 ...
1
vote
0
answers
143
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
242
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
189
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 ...
0
votes
1
answer
67
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
374
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?
0
votes
1
answer
54
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 ...
1
vote
1
answer
107
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-...
1
vote
1
answer
209
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
94
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 ...
0
votes
1
answer
209
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:
...
0
votes
1
answer
844
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....
0
votes
0
answers
67
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 ...
1
vote
1
answer
144
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&...
1
vote
1
answer
369
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 ...