docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.97k forks source link

Google Driver: support GPUs #4582

Open greuff opened 6 years ago

greuff commented 6 years ago

Currently, it doesn't seem to be possible to provision new machines with GPUs on Google Compute Engine. On the gcloud command line, this switch would add a GPU to the VM: --accelerator=type=nvidia-tesla-p100,count=1.

So for Docker Machine, it could make sense to have a machine option e.g. google-accelerator: nvidia-tesla-p100,count=1

stanhu commented 3 years ago

FYI, the GitLab fork of Docker Machine supports this now: https://docs.gitlab.com/runner/executors/docker_machine.html#using-gpus-on-google-compute-engine