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

docker(install): allow specifying custom lima images #220

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Dec 10, 2023

related to https://github.com/crazy-max/ghaction-setup-docker/actions/runs/7158220214/job/19490045126?pr=48#step:3:146

/usr/local/bin/limactl start --name=docker-actions-toolkit --tty=false
  time="2023-12-10T13:49:57Z" level=info msg="Using the existing instance \"docker-actions-toolkit\""
  time="2023-12-10T13:49:57Z" level=info msg="QEMU binary \"/usr/local/bin/qemu-system-x86_64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2023-12-10T13:49:57Z" level=info msg="Attempting to download the image" arch=x86_64 digest="sha256:054db2d88c454bb0ad8dfd8883955e3946b57d2b0bf0d023f3ade3c93cdd14e5" location="https://cloud-images.ubuntu.com/releases/22.04/release-20231026/ubuntu-22.04-server-cloudimg-amd64.img"
  Downloading the image (ubuntu-22.04-server-cloudimg-amd64.img)
  time="2023-12-10T13:50:02Z" level=fatal msg="failed to download \"[https://cloud-images.ubuntu.com/releases/22.04/release-20231026/ubuntu-22.04-server-cloudimg-amd64.img\](https://cloud-images.ubuntu.com/releases/22.04/release-20231026/ubuntu-22.04-server-cloudimg-amd64.img/)": read tcp 192.168.64.23:49180->185.125.190.37:443: read: connection reset by peer"
Error: The process '/usr/local/bin/limactl' failed with exit code 1

Ubuntu or debian mirrors to download cloud images can be flaky on macOS runners so to avoid blocking users, they can provide their own image if they want to.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the lima-custom-images branch 7 times, most recently from d8c2817 to 356e03b Compare December 10, 2023 17:38
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max marked this pull request as ready for review December 11, 2023 13:15
@crazy-max crazy-max merged commit 7929028 into docker:main Dec 12, 2023
21 checks passed
@crazy-max crazy-max deleted the lima-custom-images branch December 12, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant