Docker desktop service not running while creating Sitecore container

Hello Folks ,

As we are moving towards more headless technology, Sitecore supports Docker Desktop for virtualization, offering more space and speed.

Currently, while using Docker, I have encountered one issue. Let’s delve into that issue and then we’ll explore the solution.

While using Docker, my system initiated an auto-update, causing Docker to stop unexpectedly. When I tried to restart Docker, it displayed an error.

Issue while re starting service

This error occurred whenever I attempted to start Docker Desktop. I also tried opening it with administrator access, but the issue persisted.

I was unable to run the .ps file to shut down the Docker service that was running before Docker stopped unexpectedly.

Now that we understand the issue, let’s explore the solution.

Solution

Since this issue concerns services, let’s first check if any services are currently running.

For that go to task manager and search “docker” for refence see image below

As you can see in the picture, there are many services running in the background. Let’s stop these services/tasks and then try running Docker again. In some cases, you may also need to restart your system.

This will start Docker running again, allowing you to execute your .ps file as needed.

This solution will resolve the issue, but you may encounter it again if you restart or shut down your system. To prevent this error from recurring, follow these basic steps:

Go to your Task Manager, navigate to the ‘Startup’ tab, and disable the Docker app. This will prevent the service from automatically starting.

Whenever you restart or shut down your system, make sure to stop your containers by running the ‘stop.ps’ file. This ensures that when your system restarts, it will run a new service and the issue will not recur.

By following these steps, you can effectively manage Docker services on your system and mitigate potential startup errors in the future.

Keep coding 😊

Leave a comment

I’m Garima

a Sitecore Developer with 8 years of overall experience, with the last 5 years focused deeply on Sitecore. I’m certified in Sitecore 9, Sitecore 10, Sitecore XM Cloud and Sitecore AI CMS for Developers, and bring hands-on expertise across Sitecore CDP, Content Hub, and personalization strategies — especially in headless architectures.

My tech stack includes strong experience with .NET, JavaScript, React, and Next.js, allowing me to build scalable and high-performing digital experiences.

🧠 Currently Learning:
I’m expanding my skill set in the areas of Generative AI, Google Cloud, and Machine Learning fundamentals — with a focus on how these technologies can power future-ready personalization and intelligent content delivery in composable DXP solutions.

🔗 Always eager to learn, adapt, and collaborate — building smarter digital solutions one sprint at a time.

Google Cloud Logo

My Google Cloud Learning Journey 🚀

I’m actively learning and earning certifications through Google Cloud Skills Boost — focused on Generative AI, Cloud, and more!

🔗 View My Cloud Skills Boost Profile

Archives

Recent Posts

Let’s connect

AI architecture caching CDP cli container containers Data Source debug developer devops docker docker desktop droplink droptree Error GIT github headless javascript leadership mentor mentorship multilist NEXT partial design path personalize powershell programming publishing Push REact runtime error services Sitecore Sitecore CDP sitecore community SUGKolkata technology treelist validation validation rules web-development xm-cloud