docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

The property 'OSType' cannot be found on this object. Verify that the property exists.

Open Sivalingaamorthy opened this issue 5 years ago • 1 comments

I just cloned the latest code base, geting the below error, can you help.

ISSUE

sitecore-xp-solr:9.3.0-nanoserver-1909 True False 19 {mcr.microsoft.com/windows/servercore:1909, sitecore-openjdk:8-nanoserver-1909} sitecore-xm-solr:9.3.0-nanoserver-1909 True False 20 {mcr.microsoft.com/windows/servercore:1909, sitecore-openjdk:8-nanoserver-1909}

ForEach-Object : The property 'OSType' cannot be found on this object. Verify that the property exists. At C:\project\docker-images\build\modules\SitecoreImageBuilder\1.0.0\Public\Invoke-Build.ps1:89 char:78

  • ... ormat '{{json .}}' | ConvertFrom-Json | ForEach-Object { $_.OSType })
  •                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [ForEach-Object], PropertyNotFoundException
    • FullyQualifiedErrorId : PropertyNotFoundStrict,Microsoft.PowerShell.Commands.ForEachObjectCommand

Sivalingaamorthy avatar Nov 03 '20 17:11 Sivalingaamorthy

Is Docker running? Is it running Windows containers?

sshushliapin avatar Nov 04 '20 12:11 sshushliapin