scaleway / docker-machine-driver-scaleway

:whale: Scaleway driver for Docker Machine
MIT License
249 stars 34 forks source link

Fix docker-machine rm command #17

Closed shouze closed 8 years ago

shouze commented 8 years ago

Given I want to remove a docker machine When I execute the command

$ docker-machine rm test-docker-machine                                                                                                                                    About to remove test-docker-machine
Are you sure? (y/n): y
Error removing host "test-docker-machine": The method is not allowed for the requested URL.

Then I execute docker ls And the output looks like

test-docker-machine            -        scaleway       Error                                                     Unknown   "95bdefdc-21c7-4487-a09c-b0e1adae59fb" not found

Note: the scaleway machine if effectively removed, running a consecutive docker-machine rm -f solve the problem on the docker side.

Environment:

moul commented 8 years ago

Hi @shouze, thank you for your feedback,

@QuentinPerez was already working on this bug, it should be fixed by today

QuentinPerez commented 8 years ago

Hi @shouze,

The PR 18 seems fix this bug 😉