Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

300
Views
Docker Machine no pudo alcanzar la dirección IP/máquina con éxito usando hyperv

Traté de crear una máquina en Windows 10 con hyperv con el siguiente comando:

 docker-machine create --driver hyperv default

Pero me dio:

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

Aquí está la salida completa:

 $ docker-machine create --driver hyperv default Running pre-create checks... Creating machine... (default) Copying C:\Users\Eugene\.docker\machine\cache\boot2docker.iso to C:\Users\Eugene\.docker\machine\machines\default\boot2docker.iso... (default) Creating SSH key... (default) Creating VM... (default) Using switch "DockerNAT" (default) Creating VHD (default) Starting VM... (default) 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... 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 <ip>: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. 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 Files\Docker\Docker\Resources\bin\docker-machine.exe env default

Aunque puedo conectar la máquina a través de docker-machine ssh default.

Primero pensé que este error causado por virtualbox que también está instalado, pero su eliminación no ayudó. Además de eliminar la carpeta .docker.

Por favor ayuda. Gracias por adelantado.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Debe intentar agregar un conmutador virtual de Hyper-V, similar a aquí . Luego intente nuevamente crear la máquina de esta manera:

 docker-machine create -d hyperv --hyperv-virtual-switch "Virtual Switch1" manager1
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!