Robert Günzler
|
ae646a07ec
|
Add label to expose gpu to container
In the absence of an upstream implementation of the DeviceRequest API introduced
as part of Docker API v1.40 we roll our own using a feature label.
As per my comment in the code, we fall back to the default behavior of
docker cli's `--gpu` and request single device with the `gpu` capabilty.
The only implementation at the moment is the NVIDIA driver; here:
https://github.com/balena-os/balena-engine/blob/master/daemon/nvidia_linux.go
Background on the composefile implementation:
https://github.com/compose-spec/compose-spec/issues/74
https://github.com/docker/compose/issues/6691
Change-type: patch
Connects-to: https://github.com/balena-os/balena-jetson/pull/75
Signed-off-by: Robert Günzler <robertg@balena.io>
|
2020-06-11 14:06:16 +02:00 |
|
Pagan Gazzard
|
758f3caa48
|
Update to @balena/lint 5.x
Change-type: patch
|
2020-05-15 12:08:42 +01:00 |
|
Cameron Diver
|
0950b66c52
|
Allow spaces in volume definitions
Closes: #1247
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
|
2020-04-07 10:35:34 +01:00 |
|
Cameron Diver
|
3af89cd13f
|
Add BALENA_DEVICE_ARCH environment variable for containers
Closes: #1232
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
|
2020-03-30 16:40:02 +01:00 |
|
Cameron Diver
|
b5a427f2b9
|
Convert some coffeescript tests to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
|
2019-10-30 10:58:32 +00:00 |
|