Skip to content

The container operating system does not match the host operating system in windows build validation pipeline #15

@abbgrade

Description

@abbgrade

https://github.com/abbgrade/psdocker/actions/workflows/build-validation.yml?query=branch%3Adevelop

Warning:

Process error: docker: Error response from daemon: hcsshim::CreateComputeSystem 8f6687b168c47a83c702a49f9488d062a33e7539f8b63c06396cdb06fa6ec4e4: The container operating system does not match the host operating system.

Message:

WriteErrorException: Proccess failed (docker run --env "A=1" --env "B=C" mcr.microsoft.com/windows/nanoserver:2009) after 00:00:00.1250000.
at Invoke-ClientCommand, D:\a\psdocker\psdocker\Source\Internal\Invoke-ClientCommand.ps1:116
at New-Container, D:\a\psdocker\psdocker\Source\Public\New-Container.ps1:171
at , D:\a\psdocker\psdocker\test\New-DockerContainer.Tests.ps1:18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions