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

Add options for GPU instances on google driver #4073

Open alexanderkjeldaas opened 7 years ago

alexanderkjeldaas commented 7 years ago

It must be possible to pass:

--maintenance-policy "TERMINATE"
 --accelerator type=nvidia-tesla-k80,count=1

in order to start a GPU instance using the google driver.

montanaflynn commented 7 years ago

I was surprised to find that there is no machine type for a GPU and they must be attached to an instance. For comparison AWS has --amazonec2-instance-type p2.8xlarge which specifies the GPU and amount of them to be attached.

yoanisgil commented 6 years ago

Is this something that could be accepted as a PR? I would also like to be able to specify a min-cpu-platform value.

yoanisgil commented 6 years ago

See #4504