Skip to content

getCPUVariant fails on Windows/ARM #2693

@jiria

Description

@jiria

BUG REPORT INFORMATION

Description

We are working on enabling support for ARM on Windows. As part of that, we have hit an issue when getCPUVariant gets called. getCPUVariant calls into getCPUInfo which expects Linux OS and as such it fails for Windows

Steps to reproduce the issue:

  1. Build moby for Windows ARM32
  2. Start dockerd
  3. Import image/run image

Describe the results you received:
Either step 2 or step 3 fails, because Windows is not expected in ARM specific codepath.

Describe the results you expected:
2 & 3 should work just as on any other platform/architecture.

Output of containerd --version:

>dockerd --version
Docker version 0.0.0-dev, build 982bb1d18-unsupported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions