Open uberhacker opened 7 years ago
mostly, I just download from https://github.com/jigtools/docker-machine-driver-qemu/releases and put it in my path.
@uberhacker : for some reason, the default target is "build-clean". You want to run make default
.
I built, copied into bin. But I got a message:
Driver "qemu" not found. Do you have the plugin binary "docker-machine-driver-qemu" accessible in your PATH?
Did you ? (which docker-machine-driver-qemu
)
Yes, it is good, but doesn't work via docker.
Haven't seen any news relating to this issue as of late, (by late I mean within the past month), that said, I forked, cloned, and built the repo locally against the latest QEMU v2.12.x on macOS 10.13.5
I was having issues creating the VM locally, ie. macOS with QEMU v2.12 because the qemu-img
command wasn't cooperating with this driver. 🤦♀️ However, looking at some other docker drivers I was able to make some minor commits to my fork and was able to create a docker VM using this driver.
I totally agree with @uberhacker in that the README.md
for this repo is sorely lacking info on building the binaries from the go source.
That said, I probably know a little more about the Go programming language than I did prior to yesterday.
In closing, I'll get a couple of PR's going in a little bit with the require changes to get this driver built using the latest qemu v2.12 and I'll do my best to include the instructions I used to get (no pun intended there 🙄) the driver built.
Below are a couple screen captures 📸 of my progress.
wow! nice job.
I'll try to merge asap, and the make a release.
I only used this driver on linux, I had no idea that qemu on osx was useful!
I have fixed this issue by setting "chmod 777 ...". Thanks!
Installing on Linux:
base=https://github.com/machine-drivers/docker-machine-driver-qemu/releases/download/v0.1.0 && \
curl -L $base/default.docker-machine-driver-qemu-$(uname -s)-$(uname -m) >/tmp/docker-machine-driver-qemu && \
sudo install /tmp/docker-machine-driver-qemu /usr/local/bin/docker-machine-driver-qemu
Since this repository seems to be rather inactive, anyone looking for more detailed installation instructions can take a look at my fork of CandySunPlus's fork with QEMU 6.x support which works as of December 2021 on Linux and macOS.
Related issue #8
@totoroot :
It would be possible to update this "machine-drivers" repository, but since Docker Machine is now dead (even officially) there is no real place to get updated binaries... Including the docker-machine-driver-kvm
and docker-machine-driver-qemu
So, we created this repo (and org) as a place that you, the community of devs (like you) could continue the work
If someone needs access, ping us! (I haven't used machine since I left Rancher - tho considering where I am now, idk :) )
But we also need an active fork and binary release of both docker-machine and boot2docker, otherwise these drivers are less useful.
agreed - the offer stands - if you, @totoroot , or anyone else wants to help make that happen here, I can set you up
https://github.com/machine-drivers/machine had a PR merged in the last month, and we can bring b2d into this org too.
https://github.com/machine-drivers/machine had a PR merged in the last month,
Mostly bugfixes needed for minikube, since upstream wasn't accepting contributions...
My plan was to make a common platform instead of one docker-machine and one podman-machine, etc.
But then lima already did it (for nerdctl
), so that meant that floe and ice were left in the planning stages.
@SvenDowideit @afbjorklund Thanks for the swift response and your explanations on the matter at hand. I understand why there hasn't been much activity and I am fine with using the old docker-machine and boot2docker versions on macOS as I do most dev work on Linux anyways. I don't think I could contribute much to this repo.
Thanks for putting in the good work!
@SvenDowideit: This looks like exactly what I'm looking for to get qemu working with docker. How do you install? I assume
make
thenmake install
? With that said, I tried and didn't have any success. :)