I have a Dockerfile for building a Fly Machine microVM. Is there/will there be support by Fly, similar to what exists for Fly apps today, to build the image remotely on the Fly build servers, and spin up a Machine using that image?
Currently, I’m building the image locally myself, pushing to my Docker repo, and then invoking the Machines API to point to the image uri to create the new VM.
I tested out building a new image and deploying the new machine using the fly machine run command and it works great - this is exactly what I was looking for.
I’m running the command from a non-interactive environment; how can I get fly machine run to approve creating a new App? There doesn’t seem to be an --auto-confirm flag for fly machine run, only for fly machinei deploy
Does fly m runneed a confirmation? That’s new. You can always submit a pull-request (code) for the --auto-confirm flag, as that’s faster. Or, request that Fly engs do it for you by filing an issue (github).