-
Notifications
You must be signed in to change notification settings - Fork 72
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
Reporting for launched xhyve #18
Comments
Hey, I would like to try the driver, but it seems to have a lot of dependencies https://github.com/zchee/docker-machine-xhyve#libguestfs (OSX Fuse, etc.). Mind uploading a binary? |
@johanneswuerbach Thanks issue! I can upload the binary, but the binary requests a
I know how to solve these without libguestfs, but I felt that pretty way used libguestfs. If you are satisfied with BTW, I also have a problem in many of dependency. Sorry terrible English :( |
I definitely see why you used libguestfs, but can't b2d auto-format the disk when it discovers an unformatted one? https://github.com/boot2docker/boot2docker/blob/master/rootfs/rootfs/etc/rc.d/automount#L13-L16 |
@johanneswuerbach I tried before. I don't remember so much... But, docker-machine can not first connect the vm use And, docker also docker-machine is doing a secure remote connection use So, need to copy the locally created |
@johanneswuerbach |
Looks like b2d is just dd-ing a tar on that specific partition containing the certs: https://github.com/boot2docker/boot2docker/blob/master/rootfs/rootfs/etc/rc.d/automount#L22 Maybe the xhyve driver could create the same using hdiutil and dd. |
@johanneswuerbach I remembered. Yes. The method was previously used. docker-machine boot2docker provisioner requires ssh login to some of the setting. If not exist
I knew this way, but I feel it's pushy. Hmm... |
Works like a charm now! :-) |
@johanneswuerbach Oh! Thanks :) |
I've been trying for a while to get this working, but it fails to find the
The full output: debug.txt |
@aybabtme Thanks issue :) Could you create a new issue thread? |
It's working for me! Only thing was for some reason it didn't set up the boot script for the XHYVE_EXPERIMENTAL_NFS_SHARE, so I had to manually ssh in and mount the NFS share. After doing that, it's cranking away on building Swift from source now! |
@rothomp3 Thanks a report!! and, Sure thing for nfs issue. |
|
@Jaesin Hi, Could you try this command and post result? ls -la $(which -a docker-machine-driver-xhyve) |
I just wiped it out and started again and got it to work. 3rd try is a charm! Thanks for the effort @zchee
|
@Jaesin 🎉 |
Didn't use the NFS flag as I already have some NFS stuff setup. Worked brilliantly with Boot2Docker - b2d image 1.9.1 Didn't work with RancherOS because the ROS image has a vmlinuz file, not a vmlinuz64 file - ROS image 0.4.2 When it failed with ROS, it didn't clean up after itself (left the mount point). |
@far-blue Thanks, issue :) and reporting. Do you want to run the RancherOS use
ram...? In fact, that means available B2D memory size? |
I just installed and tested xhyve-docker-machine-driver on OS X El Capitan, docker machine 0.5.6, and it worked brilliantly from the first try with a fairly complex project involving:
So big thanks to @zchee (and the xhyve project too) and keep up the good work ! |
Yes, RancherOS (https://github.com/rancher/os) has support for docker-machine as an alternative for Boot2Docker and it provided support for xhyve early on. This is the command I used:
When I ssh into boot2docker (
This might be something best reported to the xhyve project but I just wanted to mention it :) |
@far-blue I understand :) RancherOS provision does not support Now. Currently, boot2docker only :( However, The first goal is to work perfectly the boot2docker. BTW, If the PR does not come, I want to start with its implementation in about next month. |
@jawher Thanks for Detailed reporting of operations!! I’m going to give it everything I’ve got. |
Given RancherOS has worked with xhyve in the past (rancher/os#379) my guess is that you just need to modify the following line to check for either 'vmlinuz64' or 'vmlinuz': However, you are right, it is best to focus on Boot2Docker first because it is the default and most widely used configuration :) And thank you for all the work you've done so far - it is looking great! |
I followed the guide in https://allysonjulian.com/setting-up-docker-with-xhyve/ and it worked like a charm. However when I then started setting up a project to use vagrant, with docker as the provider, it wanted to download the virtualbox box as a host rather than my local dev docker machine. I've limited experience so I'd love a pointer in the right direction. Thanks for the project. |
Great that you created this driver, thanks! 🙌🏼 I wanted to use xhyve in a Docker context for some time but didn't find the time to get familiar with the tooling and automation. I installed
I remember that
I had to try a couple of times to
I was able to do a quick test as per @dwijnand's blog post. Is there an easier way not using |
I can confirm success as well. Created the machine; Ran a test image. |
Works great for me with dinghy. |
OK @ home |
Wanna say HUGE thanks to @zchee ! We have 10+ successful installations on the various versions of OSX, from 10.10.5 to 10.11.4. All setups are working fine with NFS options. Thanks! ❤️ |
Doesn't work for me using docker-machine 0.7 & this MacOS version
Error
|
Works fine for me. Installed from homebrew (version 0.2.2), created a new docker-machine using the xhyve driver, tried out some images, everything seems to work fine. Mac OS X 10.11.5. |
Before I was using docker quickstart for mac with virtualbox and recently switched to dinghy with xhyve provider. I have installed your plugin using homebrew. Everything worked out of the box. No problems with our old images, no problems with new images. Thanks a lot! |
I still can't get the xhyve driver to work. Unless people need multiple VMs I'd suggest using Docker for Mac which is in 1.12 GA now and the previous closed Beta is now open to anyone with a Stable and Beta channel: |
Works properly with homebrew.. Thks! Le ven. 12 août 2016 18:46, Alex Ellis [email protected] a écrit :
|
Works awesome! Using TensorFlow in a Docker container, with modified CPU shares and shared folders, right now. |
It works just fine following the homebrew installation and permissions instructions. 👍 |
Works like a charm:
|
Everything worked after installing with Homebrew, except Docker wasn't able to pull images because of a DNS problem. It turns out that my dnsmasq server running on localhost was conflicting with xhyve driver's local DNS server running on 192.168.64.1 After uninstalling my dnsmasq server, I recreated the xhyve machines and then they worked (in hindsight, it might have been sufficient to just restart them). Now everything seems to work. Hope it helps. |
Seems to work mostly fine. First creation failed with "virtio_net: Could not create vmnet interface, permission denied or no entitlement?" - I deleted and tried again, and the second time it did work. |
Working for me. |
Actually, initially worked, but seemed problematic on minikube across restarts/machine restarts so I went back to virtualbox... not definitive, but FYI |
@bglusman can you tell us what went wrong? Feel free to open an issue on minikube too if you think its appropriate. Thanks :) |
Worked like a charm on |
Working well on 10.12 with virtio-9p. Running fairly complicated docker-compose development setups (with volume mounts to local source, etc.) |
Works well with following versions
|
works for me:
|
Not sure if there is still a need to post here but the driver successfully works on my mac with the beta docker
|
installed via
|
Works.
|
I have a couple of hours on an investigation to report ... It all started with using Volumes. So after checking the known issues and seeing #90 and a lot more research finally I figured out the issue, but not the root cause yet. My external drive is a Samsung T3 with NTFS .. I guess thats the issue, because every file gets a 777 permission. So fixing permissions on creation doesn't work. Took me a while to get and figure out permissions aren't set correctly. Maybe this helps for other users trying to solve the issue with external volumes |
|
@vishworks same issue here, I fixed by editing
with:
|
@vishworks it is also tracked on minishift side minishift/minishift#3180 (comment) |
Works beautifully for me. Installed using Nix. |
Not works well with me
I have run grant policy command:
But when i execute create command, i get
I'm searching around the google, but not help me I have open an issue #230 |
This thread is not issue thread. Post a report only.
See also Would you do me a favor?
OK, Running, Good, etc...
Anything will do.
The text was updated successfully, but these errors were encountered: