https://github.com/docker/machine/issues/4342 is a closed issue but this issue is not resolved.
Version: 0.14.0, build 89b8332
+1
+1
Further research showed me that the issue is already solved through #4424, but the version 0.14.1 with the fix still unreleased...
+1
+1
+1
+1
+1
Hyper-v is the preferred solution for docker machine running on windows. Yet the stable release of docker for windows ships with a broken version that can't use hyper-v
I can't get "docker-machine create --driver hyperv test" to work without downloading the 0.13.0 executable and using it.
Please release a docker for windows with the fixed 0.14.01 docker-machine as a matter of some urgency.
I'm finding stable docker for windows littered with bugs. Docker-machine env driverNoneMachine gives a docker_host variable with a URL that docker info can't consume. I have to manually fix the docker_host variable . And the list goes on...
+1
+1
Just to let you guys know, if you need this right now the workaround is to downgrade your docker-machine file (in windows Located in either C:Program FilesDocker Toolbox or C:Program FilesDockerDockerresourcesbin) with the v0.13.0 version located here https://github.com/docker/machine/releases/tag/v0.13.0. I was able to get it to work with this.
v0.13.0 solution worked for me initially, but unfortunately (and @moozoo64 is right about that), digging deeper, it created other problems like HTTP/1.x transport connection broken: malformed HTTP response
, and also other errors on Windows 10 in hyperv mode.
I keep in mind that these errors might also be caused by version incompatibility, since in this workaround we are downgrading only part of the package..
Therefore, for now, I'm not going to investigate it in details any more,...
Heading back to Linux for further exploration of new docker capabilities...
+1
+1
FYI, the workaround does not work on widows 2016 server
I did try an exe built from master on 4/18/18 11:00PM and it got past the pre-machine check on windows 10 and windows 2016. But failed later on other issue. I am filing isssues for what I find
+1
+1
+1
v0.13.0 also error
+1
+1
Same problem
+1
+1
++
+1
+1
Also related with https://github.com/docker/machine/issues/4424
https://github.com/docker/machine/releases/download/v0.15.0/docker-machine-Windows-x86_64.exe
docker-machine.exe
.For my system this is the location for docker-machine.exe
/c/Program Files/Docker/Docker/Resources/bin/docker-machine.exe
cp docker-machine.exe docker-machine.014.exe
docker-machine.exe
mv docker-machine-Windows-x86_64.exe docker-machine.exe
myswitch
myvm1
docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm1
docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm1
~~log~
Running pre-create checks...
(myvm1) Image cache directory does not exist, creating it at C:UsersTrey Brister.dockermachinecache...
(myvm1) No default Boot2Docker ISO found locally, downloading the latest release...
(myvm1) Latest release for github.com/boot2docker/boot2docker is v18.05.0-ce
(myvm1) Downloading C:UsersTrey Brister.dockermachinecacheboot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v18.05.0-ce/boot2docker.iso...
(myvm1) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(myvm1) Copying C:UsersTrey Brister.dockermachinecacheboot2docker.iso to C:UsersTrey Brister.dockermachinemachinesmyvm1boot2docker.iso...
(myvm1) Creating SSH key...
(myvm1) Creating VM...
(myvm1) Using switch "myswitch"
(myvm1) Creating VHD
(myvm1) Starting VM...
(myvm1) Waiting for host to start...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: C:Program FilesDockerDockerResourcesbindocker-machine.exe env myvm1
~
@webstandardcss thanks, I've noticed that even w/o creating a switch it works just fine. So weird that for so many months a very major bug that has been introduced hasn't been fixed, until now.
Ilan, I am grateful to hear from you.
I agree that the fix that has persisted in source at the HEAD of the repo
got a release download for us mere mortals to use.
You're welcome.
Warm Regards,
Trey Brister http://web-standard-design.com
PS Click Like to to get valuable design and programming tips
http://facebook.com/designtips/
On Tue, Jul 17, 2018 at 8:35 PM Ilan Schemoul notifications@github.com
wrote:
@webstandardcss https://github.com/webstandardcss thanks, I've noticed
that even w/o creating a switch it works just fine. So weird that for so
many months a very major bug that has been introduced hasn't been fixed,
until now.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/machine/issues/4452#issuecomment-405780468,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAT1HyJl1PyXkpVlzPxWhUp1D1JiNr23ks5uHpDEgaJpZM4TTnxN
.
@webstandardcss i faced the same problem and it got fixed following your post. thanks much for the detailed steps, it really helped.
Regards,
Amit
Most helpful comment
+1
Hyper-v is the preferred solution for docker machine running on windows. Yet the stable release of docker for windows ships with a broken version that can't use hyper-v
I can't get "docker-machine create --driver hyperv test" to work without downloading the 0.13.0 executable and using it.
Please release a docker for windows with the fixed 0.14.01 docker-machine as a matter of some urgency.
I'm finding stable docker for windows littered with bugs. Docker-machine env driverNoneMachine gives a docker_host variable with a URL that docker info can't consume. I have to manually fix the docker_host variable . And the list goes on...