-
Notifications
You must be signed in to change notification settings - Fork 13
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
lima setup: impish image url not found #232
Comments
Thanks for the report and info! This is a good reminder for me; some recent changes (#229, #231) now require custom Buildkit config so I need to figure out what to do with the Lima stack. Feel free to PR the change you made here if you find the time though. Right now I'm just depending on Lima's out-of-the-box Buildkit installation + config. I'll need to point it to my fork of Buildkit, install some CNI plugin binaries, and add Bass's custom config. In the long run the Lima stack might be kind of a pain to maintain in parallel to the Docker setup. Would you be terribly offended if I removed it and just focused on having Docker as a dependency? |
fixes errors because impish url is no longer available / moved vito#232
Let's just say I wouldn't be thrilled but let's face it there's not that many ways around Docker currently, especially on macOS, so I'd probably get over it until there's a way to get buildkit running on its own. I'd actually have a separate issue regarding the docker setup, I tried it at work which was behind a proxy, I'll need to run it again so I can share the exact error message. |
Fair. :) The trouble I'm running into now is Buildkit isn't a one-size-fits-all dependency. Configuring Buildkit for Bass's upcoming networking capabilities would affect how Buildkit works for anything else that uses it in a way that might be incompatible. Bass also wants Buildkit to allow certain security entitlements that might introduce risk for other things that use it. So having Bass run its own Buildkit is the safest approach, and Docker is the easiest way to do that across all platforms. But I'm supportive of keeping Docker optional. Bass will always look for a pre-configured Buildkit via one of the following:
But it'll have to trust that the Buildkit is configured appropriately. Maybe I could have a The other half of it is maintaining toolchains like Lima. I'm supportive of keeping an official config available, but right now I can only promise a best-effort basis (...which is really what it is already). I'll look into what it would take to update it soon, unless someone gets to that before me! |
The lima setup made sense, run a vm with buildkit and expose it, I assumed the Docker setup was using the builtin buildkit in a similar way. How does bass run it's own buildkit via docker? Is it another image? If you point me more or less where in the code it happens I'm happy to read the code directly tho I'm not sure where to start looking. Also I'll close this, the impish problem is solved for me 👍 |
Bass runs its own Buildkit daemon using a now-custom image, The Docker setup happens in bass/pkg/runtimes/util/buildkitd/buildkitd.go Lines 190 to 203 in 6aea912
The Lines 13 to 21 in 6aea912
|
Describe the bug
Base image for lima vm not found.
To Reproduce
Following the setup guide on macos without docker trying to install lima. When I tied to start the vm with
limactl start ./lima/bass.yaml
I got the following error:
Looking at https://cloud-images.ubuntu.com/ impish is nolonger listed on the top level (it is still under releases tho)
Expected behavior
VM starts without error.
Additional context
I updated
lima/bass.yaml
as follows:After that the image starts:
Took me a while to figure out why I couldn't get
bass
running after that, until I remembered I had another bass installed (https://github.com/edc/bass), then it was fine 👍The text was updated successfully, but these errors were encountered: