-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
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.