I am trying to install Sitecore Demo site (https://github.com/Sitecore/Sitecore.Demo.Platform) on my local using the steps mentioned in this guide - https://buoctrenmay.com/2020/11/06/sitecore-xp-10-0-and-sxa-10-0-demo-lighthouse-setup-guide/

I am getting below error - 

Preparing to run build script...
Running build script...

Error: Unknown command 'DockerBuild'.

     build.cake -deploymentTarget=DockerBuild --Target Content-Management
                                    ^^^^^^^^^^^ No such command

The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\build.ps1 -DeploymentTarget DockerBuild --Target Content-Management' returned a non-zero code: 1

ERROR: Service 'solution' failed to build : Build failed

Can anybody please suggest how to resolve this one? I am new to docker.

enter image description here

  • I assume that you have all the prerequisites, docker and environment preparations? Do you also have the 10.0 repo cloned correctly? May 11 at 11:21
  • yes @CristiVulturar
    – NewbieHere
    May 27 at 8:34
  • I got same error as "Error: Unknown command 'Content-Management'.
    – venkat
    Jul 6 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.