Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official docker images are incompatible with windows server workers on github actions #5845

Closed
aorumbayev opened this issue Nov 27, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@aorumbayev
Copy link

Subject of the issue

Getting:

docker: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries

Error in github actions when trying to pull official algod, conduit, indexer images in github actions running on windows server.
More details in https://github.com/algorandfoundation/algokit-utils-py/actions/runs/7006734023/job/19059268379

Your environment

Default windows-latest worker on github actions

Steps to reproduce

  1. pipx install algokit
  2. algokit localnet start (which is equivalent to running docker compose up)
  3. observe the error.

Expected behaviour

Windows server is supported, allowing devs to use official images in docker environments on github actions windows workers.

Actual behaviour

Pulling images fails.

@aorumbayev aorumbayev added the bug Something isn't working label Nov 27, 2023
@aorumbayev
Copy link
Author

compose.zip
alternatively this compose setup can be used for easier steps to reproduce, simply running docker compose run against it on windows-latest worker in github action will produce the same error. Alternatively running docker pull on latest algod image can demonstrate the error as well

@excalq
Copy link
Contributor

excalq commented Dec 5, 2023

Algod and its Docker image are built with linux/amd64 and linux/arm64 architecture targets. As noted in Algokit's documentation, running AlgoKit in a Windows environment requires Windows Subsystem for Linux 2 (WSL2) or the Hyper-V backend for Docker. This ensures that Docker in Windows is running with a Linux kernel.

As for GitHub actions, there seem to be roundabout ways to run WSL-1, but this GitHub issue) suggests that WSL-1 is not supported in GitHub actions.

@gmalouf
Copy link
Contributor

gmalouf commented Jan 24, 2024

Closing this, it reads as a better fit for discussion on the Algokit repo.

@gmalouf gmalouf closed this as completed Jan 24, 2024
@gmalouf gmalouf reopened this Jan 24, 2024
@gmalouf gmalouf closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants