Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
76 views

XM cloud setup error: hcsshim::CreateComputeSystem xxxx: The host compute system service has disconnected unexpectedly

I'm getting this error while running ./up.ps1. Docker is running windows container. IIS stopped.
user14296's user avatar
2 votes
2 answers
54 views

Error connecting to ID host: An error occurred while sending the request

I am getting an error when running dotnet sitecore login: PS C:\projects\MySite> dotnet sitecore login --cm "https://cm.mysite.localhost" --authority "https://id.mysite.localhost&...
Marcel Gruber's user avatar
0 votes
1 answer
56 views

Steps to create a mono repo with sitecore jss starter template

I am using this template to create my sitecore solution. I am planning to convert the sxastarter folder into a monorepo. So the folder structure will be something similar to this. Obviously my ...
Lahiru Lanka Rathnayaka's user avatar
0 votes
1 answer
54 views

Error: The specified module 'SitecoreDockerTools' with version '10.2.7' was not loaded because no valid module file was found in any module directory

When trying to initialize docker we are facing SitecoreDockerTools module not found. The specified module 'SitecoreDockerTools' with version '10.2.7' was not loaded because no valid module file was ...
Ankit Tawale's user avatar
1 vote
1 answer
47 views

I'm unable to install headless CMS in sitecore 10.2 Docker Setup?

Encountering error: invalid from flag value headless_image: pull access denied for headless_image, repository does not exist or may require 'docker login': denied: requested access to the resource is ...
Bharath's user avatar
  • 11
1 vote
2 answers
162 views

XM Cloud with NPM workspaces on local Docker throws "Error: EPERM: operation not permitted, symlink"

I'm using the standard monorepo and making it multi-site with each site having its own npm workspace, and then a shared code npm workspace. This is all working fine, it deploys to XM Cloud and runs ...
Mark Gibbons's user avatar
  • 5,602
0 votes
2 answers
52 views

SXA Component creation: "Access to the path is denied error" [closed]

There is a local Sitecore 10.3 Docker setup with SXA and SPE (6.4). Component creation fails with access denied powershell error trying to create the view .cshtml file: New-Item : Access to the path '...
Serhii Shushliapin's user avatar
2 votes
1 answer
158 views

My Solr health check during docker compose up is failing in my local xm cloud instance

I am having an issue with starting my XM Cloud Local Docker instance, using the up.ps1 script. It looks to be stopping specifically at this health check: test: ["CMD", "powershell",...
Bridgette Ryan's user avatar
5 votes
1 answer
122 views

Error when running .net 8 application with XM Cloud in local docker containers (XM Cloud Introduction) - Error NETSDK1045

I wanted to run the XM Cloud Introduction Repo in local docker containers. Reproduction steps: I cloned the main branch to my local I ran the init script I adjusted the .env file as I'm running on ...
Sebastian Winter's user avatar
1 vote
0 answers
106 views

Any way to prevent "[LOGMONITOR] ERROR: Error in log file monitor" entries in Docker logs?

I am not experiencing a specific issue, however, I frequently see these types of Docker log entries coming from my cm and cd Docker services: [LOGMONITOR] ERROR: Error in log file monitor. Failed to ...
Marcel Gruber's user avatar
1 vote
1 answer
27 views

SXA search result API is not giving the result for the custom index on newly setup preview CD based on publishing target

We have created the custom indexes on the newly set CD server based on the new publishing target using docker. Please quickly check one of the posted questions to get an idea of how I've set up the ...
Jumping Rabbit's user avatar
0 votes
1 answer
75 views

New publishing target based CD server is not showing index data

In docker, I created the new publishing target as preview and set the new container by copying the docker-componse instructions of the CM service and removed the master connection string from this, ...
Jumping Rabbit's user avatar
1 vote
0 answers
427 views

Cannot rebuild containers: base name (${BUILD_IMAGE}) should not be blank

Lately whenever I run docker compose build I see this, and then the command ends: Step 1/21 : ARG BASE_IMAGE Step 2/21 : ARG BUILD_IMAGE Step 3/21 : FROM ${BUILD_IMAGE} AS prep ---> eb59a6673fd3 ...
Marcel Gruber's user avatar
1 vote
0 answers
94 views

Rendering container fails to start: system cannot find the file specified

I am adding a rendering service/container to my solution. I see this error from the rendering container when running docker compose up: Error response from daemon: container ...
Marcel Gruber's user avatar
0 votes
1 answer
80 views

How do I add a transform to the web.config for the Identity server with a container setup?

How do I add custom headers to the Identity server? I am using sxp/sitecore-id6:10.2.0-ltsc2019 image for the identity server. The Invoke-XdtTransform.ps1 we use on CM does not work as the id image ...
Vinay Jadav's user avatar
0 votes
0 answers
45 views

hostname could not be parsed error when hitting custom MapHttpRoute

I am running Sitecore (10.2)/SXA backend in Docker. I am running NextJS directly on my host machine via npm run start:connected. On upstream environments, when I hit /export/doc?id=xxxxxxx, a file is ...
Marcel Gruber's user avatar
0 votes
1 answer
255 views

POSTing to localhost:3000/api/editing/render results in error "Unable to extract editing data from request"

I am doing some troubleshooting with my Sitecore(10.2.1)/NextJS(12.3.1)/JSS(20.0.3)/Docker setup. I am running my backend in Docker and my front end via npm on my host machine. I am POSTing to http://...
Marcel Gruber's user avatar
2 votes
1 answer
340 views

Sitecore XM Cloud local setup docker error

We are getting below mentioned error, while setting up XM Cloud on our local machine. Could you please suggest how we can resolve these issues? "dependency failed to start: container sxastarter-...
PKH's user avatar
  • 475
0 votes
1 answer
81 views

how to setup docker in local machine after setup sxa headless application

I have Sitecore SXA Headless with a Next.js application running on my local machine. Now, I want to set up Docker for this application. Could you please provide steps for this? Sitecore version: ...
PKH's user avatar
  • 475
0 votes
0 answers
117 views

Error while installing Sitecore package with File in Docker/AKS Sitecore

I am getting error while installing a file package.But getting error: The installation failed. Background process failed: Access to the path is denied. For more information see the Sitecore log. Try ...
Sitecoredev's user avatar
0 votes
1 answer
82 views

Docker cd service intermittently fails to start

I am running SQL from my host machine rather than via the OOTB mssql service. I did this by customizing the database query strings in my docker compose override file: cd: environment: ...
Marcel Gruber's user avatar
1 vote
0 answers
89 views

Separate Editing host for Sitecore Headless application in local docker setup

I am trying to create the separate Editing Host (Next.js) for container setup. Sitecore version: 10.3 without SXA Sitecore JSS Next.js SDK version: 21.2.4 without SXA Multi-site add-on For this I ...
Amit Kumar's user avatar
2 votes
2 answers
838 views

Getting an error while running the docker-compose command - "a Windows version 10.0.20348-based image is incompatible with a 10.0.19044 host"

I am trying to install Sitecore 10.3 with Docker. While running docker-compose command I have encountered below issue. The error message I get is: a Windows version 10.0.20348-based image is ...
Niranjan Sadhu's user avatar
1 vote
7 answers
944 views

Unable to connect to the remote server

Have you ever get an error during the XM cloud installation via docker like this one? Invoke-RestMethod : Unable to connect to the remote server At C: \Users \ionut.plesescu Desktop Repositories \...
Z3RaK's user avatar
  • 45
0 votes
1 answer
560 views

Unable to load the service index for source https://nuget.sitecore.com/resources/v3/index.json

Recently I updated Nuget feed with new Sitecore public url https://nuget.sitecore.com/resources/v3/index.json. It works fine in Visual studio build but when I build my solution within docker using ...
Sitecoredev's user avatar
2 votes
1 answer
127 views

Sitecore login redirects to http instead of https after we added 'hostname' attributes in docker-compose.yml

We are running sitecore with docker in version 10.1.2 (rev. 006578). On the customers laptop, apparently due to the companies security policy, the docker containers could not communicate with each ...
Tillito's user avatar
  • 161
0 votes
0 answers
14 views

Problem to contact outside URLs from within docker container [duplicate]

We are running sitecore with docker in version 10.1.2 (rev. 006578). Inside the cm container, we consume a web service from a server inside the intranet. We are part of the intranet via VPN, using ...
Tillito's user avatar
  • 161
1 vote
1 answer
197 views

Traefik cannot read private key error

I created a new XM1 developer environment using the official Container Deployment Package, using PowerShell 7.3.6 elevated. After running Compose-Init.ps1 and docker compose up -d, when trying to hit ...
Dan Solovay's user avatar
  • 2,101
3 votes
2 answers
145 views

Not able to Save data in physical file while using docker through Sitecore Powershell

I'm new to PowerShell scripts and want to create items in Sitecore's Shared Data folder in a Json file and save the uploaded Json file in the App_Data directory's location. I tried using fullpath and ...
Aditya Gautam's user avatar
0 votes
3 answers
61 views

Generating Custom Error pages using SXA - Docker Container AKS

We are using Sitecore 10.2 with SXA and it is deployed on docker using AKS. We are trying to generate a static error page from the Site grouping site the error page is created but if we are again ...
Rameshkumar's user avatar
1 vote
1 answer
388 views

Sitecore CMS gets slow and unusable when opening up grapgql UI [duplicate]

I have an existing Sitecore 10.3 instance running on my local with SXA. The requirement for me is to use GraphQL to query data from my existing SXA site. In order to do that, I installed a headless ...
Ashan's user avatar
  • 63
2 votes
0 answers
121 views

How do you add custom Solr indexes in XM/XP 10.2 with containers?

I am trying to get a custom solr index to work in sitecore 10.2 running in containers. Config <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:...
Ken Tucker's user avatar
2 votes
0 answers
200 views

10.3.0 Docker base images appear to be negatively impacted by recent 10.3.1 release [closed]

A cross-thread to accompany a Sitecore support request. We are experiencing issues on our Docker-based environments. It seems to be closely related to the fact that Sitecore 10.3.1 was released today. ...
Mathijs Bannink's user avatar
1 vote
3 answers
217 views

Getting Started Template - Docker issues

Anyone getting problems following the Getting Started template? Tried 2 different installations and still getting errors. https://doc.sitecore.com/xp/en/developers/101/developer-tools/walkthrough--...
thebernardlim's user avatar
2 votes
1 answer
69 views

manifest tagged by "latest" is not found

I am trying to run JSS with Sitecore xp1 in Docker. I am referencing the following URLs: https://doc.sitecore.com/xp/en/developers/102/developer-tools/add-sitecore-modules.html https://doc.sitecore....
NutsAndBolts's user avatar
  • 1,342
4 votes
1 answer
4k views

docker containers do not start - network was found but has incorrect label com.docker.compose.network set to ""

The messages are warning... but i cannot get the endpoints... any ideas ? level=warning msg="The \"H\" variable is not set. Defaulting to a blank string." At line:1 char:1 + docker-...
luckymow8's user avatar
1 vote
1 answer
106 views

CM instance error | Sitecore in Docker

I was trying to run Sitecore in Docker and was following the document at https://github.com/Sitecore/docker-examples. It broke while spinning up the CM instance. The error I received is the following: ...
NutsAndBolts's user avatar
  • 1,342
1 vote
0 answers
283 views

Sitecore 10.3 Getting Started Template Installation Error: mssql-init stage

When running the up.ps1 file of the Getting Started Template solution, I am getting the following error: => ERROR [mssql-init stage-1 2/2] COPY --from=headless_services C:\module\db C:\resources\...
thebernardlim's user avatar
1 vote
1 answer
327 views

Unable to copy custom files in Sitecore identity server [duplicate]

I am trying to deploy some custom files in my Sitecore identity server. As you can see in the below screenshot,the files are copied into c:\deploy folder within container but not getting copied from c:...
Sitecoredev's user avatar
0 votes
0 answers
92 views

OutOfMemoryException Exception while building Sitecore solution in docker

I am running msbuild command in docker to build my solution but getting below error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core....
Sitecoredev's user avatar
1 vote
1 answer
637 views

CD docker container unhealthy due to "error in log file monitor. Failed to query file information."

When running docker compose up -d, the cd container shows as unhealthy. It was functioning properly yesterday. I am seeing these errors when the CD container is starting up, and I can see the site ...
Marcel Gruber's user avatar
1 vote
1 answer
94 views

Local CM site Experience Editor fetches NextJS static assets from Vercel instead of local

I have a local install of NextJS & SC 10.2. The site is running via docker with a setup that is mostly similar to this example: https://github.com/Sitecore/docker-examples/blob/develop/getting-...
Marcel Gruber's user avatar
1 vote
3 answers
2k views

Docker Compose is upgraded to v2.18.1 but when I run docker compose command I get the docker: 'compose' is not a docker command

I upgraded the Docker Compose to v2.18.1 but when I run docker compose command I get the docker: 'compose' is not a docker command. I am using Windows I ran the command below to upgrade docker Compose ...
Renuka's user avatar
  • 185
2 votes
1 answer
662 views

Docker Desktop Bad Gateway (502)

I am running Sitecore 10.2 XM in Docker Desktop. It has no issues loading the site in a browser on my laptop but throws a bad gateway error in a VM that has nested virtualization. It used to run fine ...
Kode's user avatar
  • 243
1 vote
2 answers
393 views

How to connect to an API on the host machine from the CM/CD on docker?

Looking at https://docs.docker.com/desktop/networking/ it says I want to connect from a container to a service on the host The host has a changing IP address, or none if you have no network access. ...
Mark Gibbons's user avatar
  • 5,602
1 vote
2 answers
469 views

(Sitecore Docker Setup) container sitecore-xp0-solr-1 is unhealthy

On running docker-compose up -d this container always gives an error for me. I have modified the solr port in docker compose yml, because with PORT 8983 another solr running in my local. When I ...
mahesh gupta's user avatar
1 vote
1 answer
123 views

Error in deploying custom changes in Docker Identity Server- SC10.3

I am trying to deploy some custom changes in Sitecore identity server in docker environment for xp0 which includes a dll and some config changes. It works fine in non docker environment but I am ...
Sitecoredev's user avatar
0 votes
2 answers
327 views

Can I install sitecore10 without installing container with it?

I don't need to use docker in my local training env. Is it possible to not install containers when installing Sitecore 10 or is it mandatory?
Doaa Abdallah's user avatar
3 votes
2 answers
1k views

Error response from daemon: Get "https://scr.sitecore.com/v2/": context deadline exceeded

Getting below error while running container in windows 11. Hyper-V is enabled. Keeping XM Cloud base image up to date Error response from daemon: Get "https://scr.sitecore.com/v2/": context ...
Akash Savalagi's user avatar
1 vote
1 answer
281 views

Deploy NextJS Headless SXA app into XM1 Container Instance

I am trying to deploy the NextJS Headless SXA app into the Sitecore XM1+ Headless SXA Docker container. For this, i have setup the instance for Sitecore XM1 with following details: SITECORE_VERSION=...
Amit Kumar's user avatar