Open
Description
I get the following error when trying to delete a stopped machine. Not sure if it is a machine driver or a api issue. But not being able to delete an stopped instance sound like a bug to me
$docker-machine create --driver=scaleway --scaleway-commercial-type=DEV1-S --scaleway-image=debian_stretch --scaleway-region=par1 --scaleway-name="testing-docker-machine" testing-docker-machine
....
$ docker-machine stop testing-docker-machine
Stopping "testing-docker-machine"...
Machine "testing-docker-machine" was stopped.
$ docker-machine rm testing-docker-machine
About to remove testing-docker-machine
WARNING: This action will delete both local reference and remote instance.
Are you sure? (y/n): y
Error removing host "testing-docker-machine": StatusCode: 400, Type: invalid_request_error, APIMessage: server should be running
after starting i'm able to delete the machine
$ docker-machine start testing-docker-machine
Starting "testing-docker-machine"...
Machine "testing-docker-machine" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
$ docker-machine rm testing-docker-machine
About to remove testing-docker-machine
WARNING: This action will delete both local reference and remote instance.
Are you sure? (y/n): y
Successfully removed testing-docker-machine
Metadata
Metadata
Assignees
Labels
No labels