We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6456b6 commit 91676d3Copy full SHA for 91676d3
content/reference/compose-file/services.md
@@ -523,6 +523,13 @@ devices:
523
- "/dev/sda:/dev/xvda:rwm"
524
```
525
526
+`devices` can also rely on the [CDI](https://github.com/cncf-tags/container-device-interface) syntax to let the container runtime select a device:
527
+
528
+```yml
529
+devices:
530
+ - "vendor1.com/device=gpu"
531
+```
532
533
### `dns`
534
535
`dns` defines custom DNS servers to set on the container network interface configuration. It can be a single value or a list.
0 commit comments