9

I am following the document https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html to create a test sample project for Sitecore Headless Development.

Everything was so smooth till step 7 .\up.ps1

On executing step 7, I am getting the below exception.

D:\Projects\Core\MyProject\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

enter image description here

What could be the issue?

1
  • I updated my Docker version and it worked
    – ParPari
    Dec 20, 2021 at 13:03

1 Answer 1

12

This has happened because "Docker Desktop" was not running on my machine. I started "Docker Desktop" and execute the script again. I was able to install a sample project for Sitecore Headless Development. enter image description here

2
  • A slight variation to this: I restarted Docker Desktop and this issue was resolved for me.
    – MichaelG
    Jul 24, 2021 at 20:16
  • The reason is the same. Thanks for the update. It would help other viewers. Jul 25, 2021 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.