vv9k / docker-api-rs

Rust interface to Docker containers
MIT License
106 stars 33 forks source link

added runtime option to ContainerCreateOptsBuilder #55

Closed Slonegg closed 1 year ago

Slonegg commented 1 year ago

Added "runtime" option for creating Docker container that allows using NVidia GPU inside the container like here equivalent to the command docker run --runtime=nvidia nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi

vv9k commented 1 year ago

Thanks!