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

Install instructions? #2

Open
uberhacker opened this issue Nov 19, 2017 · 16 comments
Open

Install instructions? #2

uberhacker opened this issue Nov 19, 2017 · 16 comments

Comments

@uberhacker
Copy link

@SvenDowideit: This looks like exactly what I'm looking for to get qemu working with docker. How do you install? I assume make then make install? With that said, I tried and didn't have any success. :)

@SvenDowideit
Copy link
Member

mostly, I just download from https://github.com/jigtools/docker-machine-driver-qemu/releases and put it in my path.

@afbjorklund
Copy link
Contributor

@uberhacker : for some reason, the default target is "build-clean". You want to run make default.

@makamekm
Copy link

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?

@afbjorklund
Copy link
Contributor

Did you ? (which docker-machine-driver-qemu)

@makamekm
Copy link

Yes, it is good, but doesn't work via docker.

@ipatch
Copy link

ipatch commented Jun 26, 2018

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.

screen shot 2018-06-26 at 5 12 29 pm

screen shot 2018-06-26 at 5 02 44 pm

screen shot 2018-06-26 at 5 03 05 pm

@SvenDowideit
Copy link
Member

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!

@makamekm
Copy link

makamekm commented Jun 29, 2018

I have fixed this issue by setting "chmod 777 ...". Thanks!

@laszbalo
Copy link

laszbalo commented Jul 4, 2018

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

@totoroot
Copy link

totoroot commented Nov 24, 2021

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

@afbjorklund
Copy link
Contributor

afbjorklund commented Nov 25, 2021

@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

@SvenDowideit
Copy link
Member

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 :) )

@afbjorklund
Copy link
Contributor

But we also need an active fork and binary release of both docker-machine and boot2docker, otherwise these drivers are less useful.

@SvenDowideit
Copy link
Member

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.

@afbjorklund
Copy link
Contributor

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.

@totoroot
Copy link

totoroot commented Dec 2, 2021

@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!

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

7 participants