terraform-provider-docker
terraform-provider-docker copied to clipboard
Support NVIDIA GPUs
Terraform Version
v0.12.23
Affected Resource(s)
Please list the resources as a list, for example:
-
docker_container
Terraform Configuration Files
resource docker_container a {
name = ""
gpus = "all"
}
Debug Output
docker_container.a: : invalid or unknown key: gpus
Expected Behavior
The --gpus
flag should be supported.
Actual Behavior
The --gpus
flag is not supported.
Steps to Reproduce
Try to run a container with NVIDIA Docker support, which is now natively available in Docker 19.03
Important Factoids
In order to test this, you should have a NVIDIA GPU, run Linux, and install the nvidia-container-toolkit
package.
We could add this but there is no machine around with this setup for testing. Would you mind to test then after the release?
Happy to do that. :+1:
Need this arg in pulumi-docker-provider, but he use terraform-provider-docker )
same problem here