Ability to run Linux containers on Windows runner
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the setup-wsl and setup-docker-action workflow on a Windows GitHub runner with Linux containers enabled. Read the action's Windows setup path and Docker engine selection behavior; done means the documented workflow can run Linux-container integration tests on the Windows runner.
Written by the indexing model from the issue text.
Description
Description
I need to run integration tests on a Windows GitHub runner that uses Linux containers. Running directly on a Linux runner is not an option as I'm testing this specific configuration (Windows running Linux containers). I tried this:
If I install WSL2 and Docker on a Windows runner:
- name: Set up WSL
if: ${{ matrix.os == 'windows-latest' }}
uses: Vampire/setup-wsl@v5
- name: Set up Docker
uses: docker/setup-docker-action@v4
with:
daemon-config: |
{
"features": {
"containerd-snapshotter": true
}
}
but docker still tries to use Windows containers. The installed distribution contains docker and dockerd but I believe we need dockercli in order to run dockercli -SwitchLinuxEngine in order use Linux containers.
- Dominant language
- TypeScript
- Stars
- 77
- Forks
- 22
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 6
Contributor guide
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.
More from docker/setup-docker-action
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/setup-docker-action#228 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
docker/setup-docker-action#159 · 1 comment · 1 reaction ·
-
area/linux status/needs-more-info
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/setup-docker-action#99 · 4 comments · 7 reactions ·
All issues in docker/setup-docker-action
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·