Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
22 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
0 votes
0 answers
13 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 ...
Prashant Tomar's user avatar
0 votes
1 answer
63 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, ...
Prashant Tomar's user avatar
0 votes
0 answers
38 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
49 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
0 answers
39 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
29 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
36 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
1 vote
0 answers
137 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
  • 455
0 votes
1 answer
57 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
  • 455
0 votes
0 answers
57 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
39 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
47 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
340 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
0 votes
1 answer
77 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
64 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
0 votes
1 answer
72 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
  • 1,971
3 votes
2 answers
133 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
49 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
177 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
92 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
155 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
2 answers
142 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
44 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,310
1 vote
1 answer
1k views

cannot access docker endpoints only warning messages from docker-compose up

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
78 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,310
1 vote
1 answer
216 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
182 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
63 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
386 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
59 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
871 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
359 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
282 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,432
1 vote
2 answers
224 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
89 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
198 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
935 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 S's user avatar
  • 440
1 vote
1 answer
183 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
1 vote
2 answers
99 views

XML Transformation in Sitecore Identity Server using Docker

We have to modify some changes in the Sitecore identity server's Sitecore.IdentityServer.Host file using docker. This file remains present at the location xp01.localidentityserver.dev.local\Config\...
Prashant Tomar's user avatar
0 votes
0 answers
384 views

Unsupported config option for services while starting Sitecore with Docker

I am trying to install Sitecore 10.3 XP0 using Docker on my windows machine. I am following the document Sitecore XP 10.3.0 Developer Workstation Deployment With Docker. After executing compose-init....
NutsAndBolts's user avatar
  • 1,310
1 vote
2 answers
628 views

Applying patch config files to a local XM Cloud Docker environment

I'm doing some XM Cloud experiments. Based on the starter kit I've got it running local with Docker: https://github.com/sitecorelabs/xmcloud-foundation-head There is also a Nextjs project which uses ...
Jeroen Breuer's user avatar
2 votes
1 answer
427 views

Sitecore Docker Development Image for MS SQL Server 2019

The Sitecore container registry contains mssql-developer images for Windows OS targeting only MS SQL Server 2017 (see full list here). The Microsoft Artifact Registry contains only MS SQL Server ...
Alessandro Faniuolo's user avatar
2 votes
1 answer
239 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 ...
Sudheer Suggu's user avatar
0 votes
1 answer
213 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 ...
vikramsagarag's user avatar
1 vote
0 answers
319 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 ...
ayanpush's user avatar
1 vote
2 answers
225 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 ...
Abhay Dhar's user avatar
  • 1,655
0 votes
1 answer
114 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 ...
Sean T's user avatar
  • 240
0 votes
1 answer
406 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 ...
Anonymous's user avatar