runner icon indicating copy to clipboard operation
runner copied to clipboard

Support container operations on Windows runners

Open tprk77 opened this issue 4 years ago • 29 comments

Describe the enhancement

I would like to run a Windows Docker container on a Windows runner. But was surprised to find out that this is not supported:

Error: Container operations are only supported on Linux runners

Specifically, I am asking that:

  • jobs.<job_id>.container work on Windows runners
  • It allows for use of Windows containers (as opposed to Linux containers)

Code Snippet

Here's an example workflow of what I'm asking for:

jobs:
  windows-build:
    name: Windows Build
    runs-on: windows-2019
    container:
      image: mcr.microsoft.com/windows/servercore:ltsc2019
    steps:
      - run: ...

Additional information

N/A

tprk77 avatar Jan 12 '21 02:01 tprk77