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

Supporting Hyper-V using docker-machine #442

Closed
deniseschannon opened this issue Jul 15, 2015 · 11 comments

Comments

@deniseschannon
Copy link
Member

commented Jul 15, 2015

No description provided.

@nevercast

This comment has been minimized.

Copy link

commented Aug 16, 2016

I've noticed this is constantly postponed. Is the fix known? Can I build my own rancheros iso for use on Hyper-V ?

@SvenDowideit

This comment has been minimized.

Copy link
Contributor

commented Dec 12, 2016

if you have Hyper-V and the skills to make it work, please have a go, and submit a PR :)

There are so many variations of systems, that we can't hope to do it all ourselves.

@bkleiner

This comment has been minimized.

Copy link

commented Mar 26, 2017

The problem mentioned in #1596 seems to be caused by the fact rancher os does not ship with hv_kvp_daemon.
It is part of the linux kernel and needs to be running for hyper-v to successfully detect the ip address of the machine.
If somebody gave me some pointers on where to integrate (os-kernel?), i would be happy to supply a PR.

@SvenDowideit

This comment has been minimized.

Copy link
Contributor

commented Mar 26, 2017

@bkleiner mmm, that is interesting. I think what would be needed, is a PR to the rancher/os-kernel repo which enabled whatever options are needed in the config file, and then a second part which creates another Docker image containing the user space tools for hyper-v - that image would then be optionally able to be loaded into RancherOS at boot time.

@gitbm

This comment has been minimized.

Copy link

commented Jun 14, 2017

As a suggestion for the interim you could update your Quick Start Guide to include instructions on how to get it running in Hyper-V directly rather than using docker-machine. You just need to point people to the rancheros ISO and this link (or write something similar yourself): https://blog.couchbase.com/hyper-v-run-ubuntu-linux-windows/
Consider that people who may be interested in rancheros may already be using Docker for Windows which requires Hyper-V which in turn does not play nice with VirtualBox, so providing info on how to get it running at the same time as Docker for Windows will be helful for those that are unfamiliar with Hyper-V

@ViceIce

This comment has been minimized.

Copy link

commented Aug 16, 2017

The kernel support seems to be enabled: config/kernel-config#L6573

So i think we only need a docker image with the userspace daemons?

@bkleiner

This comment has been minimized.

Copy link

commented Aug 16, 2017

@ViceIce Yes, you gonna need to pull the kernel sources linked above, build the daemon and package it into a docker container.
Please be aware that this only solves the problem of ip-detection, you will still have to find a way the supply the VM with a address (SLAAC, dhcp, static, whatever) because Hyper-V does not ship with a means to do so.

Sorry that i kinda abandoned this issue but i was allowed to switch my workstation to linux, which made all these problems disappear.

@SvenDowideit SvenDowideit added this to the post 1.1.0 milestone Aug 17, 2017

@niusmallnan niusmallnan self-assigned this Feb 13, 2018

@niusmallnan niusmallnan modified the milestones: v1.3.0, unscheduled Feb 13, 2018

@dvdbot

This comment has been minimized.

Copy link

commented Feb 23, 2018

When can we expect this to be solved?
Currently trying through the docker-machine route to get RancherOS running but like everyone else it's stuck on "Wating for host to start..."

@mudrii

This comment has been minimized.

Copy link

commented Mar 20, 2018

+1 Nice to have Hyper-V support and documentation

@Jason-ZW

This comment has been minimized.

Copy link
Member

commented Oct 8, 2018

See commit f19e3a5, We must fix the 'udevsettle' issue on hyper-v later.

@rootwuj

This comment has been minimized.

Copy link

commented Dec 3, 2018

Version - rancher/os:v1.5.0-rc1 12/03
Verified fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.