Support container operations on Windows runners
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
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>.containerwork 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the runner's handling of jobs.<job_id>.container from the reported error and compare it with the Windows runner path. Verify the example workflow with a Windows container image; done means container operations work on Windows runners and support Windows rather than Linux containers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, docker, github-actions
- Domain
- ci-cd, devops, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100