Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
100 stars 28 forks source link

How to setup GPU in ECS docker option #5188

Closed tkumark closed 3 years ago

tkumark commented 3 years ago

How do i set the GPU as part of the dockerOptions? I only see cpu option I do not see GPU option. Does shippable support GPU option? http://docs.shippable.com/platform/workflow/resource/dockeroptions/

I tried this but it does not working

  - name: 1-gpu-docker-opts
    type: dockerOptions
    version:
      gpu: 1

image

tkumark commented 3 years ago

This works

  - name: 1-gpu-docker-opts
    type: dockerOptions
    version:
      resourceRequirements:
       - type: GPU
         value: '1'