vultr / docker-machine-driver-vultr

Vultr Driver Plugin for Docker Machine
MIT License
27 stars 11 forks source link

Change status checks #16

Closed ddymko closed 3 years ago

ddymko commented 3 years ago

Description

The current status checks were checking until the status was set to ok which can take a while. Changed the checks to continue on running

Related Issues

Closes #15

Checklist:

ddymko commented 3 years ago

Run/output from local build

➜  ~ docker-machine create -d vultr --vultr-api-key=$VULTR_API_KEY dm
Running pre-create checks...
Creating machine...
(dm) waiting for ip address to become available...
(dm) Created Vultr VPS with ID: 42498956, Public IP: 45.77.201.223
(dm) waiting for server state to become 'ok'...
(dm) installing and booting processes on the server are complete, server is ready to use
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 ubuntu(systemd)...
Installing Docker...
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: docker-machine env dm

➜  ~ docker-machine ls
NAME     ACTIVE   DRIVER   STATE     URL                        SWARM   DOCKER      ERRORS
dm       -        vultr    Running   tcp://45.77.201.223:2376           v19.03.14