docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.62k stars 1.97k forks source link

Failed to create machine on local ubuntu 18.04 #4869

Open bh4rtp opened 3 years ago

bh4rtp commented 3 years ago

I don't know whether it is allowed to create a docker machine on my localhost VirtualBox VM with Ubuntu 18.04 installed. The IP of this VM is 192.168.56.104. I create like this: allen@mangr:~$ docker-machine create --driver generic --generic-ip-address 192.168.56.104 exchange Running pre-create checks... Creating machine... (exchange) Importing SSH key... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded

allen@mangr:~$ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS exchange - generic Running tcp://192.168.56.104:2376 Unknown Unable to query docker version: Cannot connect to the docker engine endpoint

The docker 20.10.3 is already installed on Ubuntu 18.04.