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

Feature request: container registry interface #25

Open
naikrovek opened this issue Feb 27, 2023 · 2 comments
Open

Feature request: container registry interface #25

naikrovek opened this issue Feb 27, 2023 · 2 comments

Comments

@naikrovek
Copy link

naikrovek commented Feb 27, 2023

Do you take feature requests?

If I knew Swift, I might contribute these myself, but I don't, yet.

github.com/cirruslabs/tart/ is very much like this but has a much more polished command line interface. it's not interactive or anything, but it's more mature. That would be a "nice to have."

One thing I would really, really like, though, is Tart's ability to upload and download VM images from a container registry. If that is something that's easy to do, I'd like to request that. If it's not, then never mind, and you can close this issue without response.

I ask because tart is soon moving to a horrendous license that I can't use.

I don't mean to make demands of any open source maintainer, so if these feel like things you must do, don't do them, please! I do not want to be a cause of or contribute to anyone's increasing stress level. This is a request. A "no" from you is equally as valid as a "yes." Like I said, I'm new to Macs and Swift and I intend on taking some of Apple's starter code from WWDC 2022 and expanding it as I learn the language.

Thank you, and have a wonderful [insert time period]!

@s-u
Copy link
Owner

s-u commented Oct 8, 2023

I do take feature requests, just post them as issue here, but they have to provide a bit more details.

What you're talking about above looks like a job for another tool - macosvm just runs any images you give it or creates new ones. If you want to upload/download them there are many tools for that - it is not tied to actually running them. However, unlike Docker or similar, it is a bit more tricky, because macOS images are unique (and tied to the configuration, ECID is generated on install) so they are not as easily interchangeable. That said, if anyone wants to donate code that adds interface to some registries, that's fine with me, but as I said, I think that may as well be a separate tool.

@s-u s-u changed the title feature requests? Feature request: container registry interface Oct 8, 2023
@naikrovek
Copy link
Author

naikrovek commented Oct 11, 2023

the ECID matters if you're going to run multiple MacOS VMs on the same host, but not if they run on multiple hosts, as I understand it. one at a time per host, I mean.

given that Apple only allows two simultaneous MacOS VMs on a host, having two separately generated images to run simultaneously was my plan.

imagine a small (or large) farm of Mac devices running two VMs each as a GitHub Actions farm. I want to update two container images and know that the next time any of those VM hosts spawns a VM, it will pull the new image first. that was the scenario in my mind when I created this issue.

Tart's license is no longer Open Source, so I can't take what they've done and use it at the scale I want without sticking to an old version which is AGPL3 or paying for it. Both of those are difficult sells within an enterprise, so I wanted to put something together that is more acceptable to large businesses.

I've since ceased work on that because of Life, but I'll resume at some point.

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

No branches or pull requests

2 participants