scaleway / docker-machine-driver-scaleway

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

Default machine image does not exist #88

Closed khast3x closed 6 years ago

khast3x commented 6 years ago

Using the vanilla formula from documentation:

user@bigpc ~> docker-machine create -d scaleway my-scaleway-docker-machine
Running pre-create checks...
Creating machine...
(my-scaleway-docker-machine) Creating SSH key...
(my-scaleway-docker-machine) Creating server...
Error creating machine: Error in driver during machine creation: No such image (zone par1, arch x86_64) : ubuntu-xenial
remyleone commented 6 years ago

I think you didn't specify the id of the image you want to use. You can obtain the available image id using the following command:

$ curl  -H "X-Auth-Token: $SCW_TOKEN" https://cp-par1.scaleway.com/images\?name\="ubuntu trusty"

Images are scoped to a given region. You would get a different id for a different region. Let me know if you have additional questions. I get the following command when I run it on my laptop:

$ docker-machine create -d scaleway my-scaleway-docker-machine
Running pre-create checks...
Creating machine...
(my-scaleway-docker-machine) Creating SSH key...
(my-scaleway-docker-machine) Creating server...
Error creating machine: Error in driver during machine creation: Too many candidates for ubuntu-xenial (2)
khast3x commented 6 years ago

Thanks for the heads up and taking the time to explain.
Is it planned to be simplified in the future?
Best,

remyleone commented 6 years ago

Yes, it will be simplified it is on my todo list. :)