Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

This machine has been allocated an IP address, but Docker Machine could not reach it successfully #4440

Open
LeonardoMontano opened this issue Apr 1, 2018 · 0 comments

Comments

@LeonardoMontano
Copy link

Docker for Windows Community Edition 18.03.0-ce-win59 2018-03-26 successfully installed on a clean Virtual machine running Windows 10 Pro Version 1709 (OS Build 16299.125). With firewall turned off and with exposed virtualization extensions.

When trying to set up a swarm, running command "docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm1" results in:

"This machine has been allocated an IP address, but Docker Machine could not
reach it successfully.
SSH for the machine should still work, but connecting to exposed ports, such as
the Docker daemon port (usually :2376), may not work properly.
You may need to add the route manually, or use another related workaround.
This could be due to a VPN, proxy, or host file configuration issue.
You also might want to clear any VirtualBox host only interfaces you are not using.
"

Note: Before running into this issue, I ran into another issue: "Hyper-V PowerShell Module is not available" so I downloaded a previous version of docker-machine.exe and replaced C:\Program Files\Docker\Docker\resources\bin\docker-machine.exe with the newly downloaded file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant