slim icon indicating copy to clipboard operation
slim copied to clipboard

Support `--runtime` parameter when building?

Open openedhardware opened this issue 4 years ago • 4 comments

Normally, people use docker run --runtime=nvidia to enable CUDA inside the containers.. (Or --gpus all)

How can we enable these parameters while building with docker-slim build command?

openedhardware avatar Mar 02 '21 06:03 openedhardware

--cro-runtime is the build command parameter for it (will be included in the next release; already in the repo)

kcq avatar Mar 05 '21 07:03 kcq

Any update here? @kcq

openedhardware avatar Mar 29 '21 10:03 openedhardware

I'd really like to see this thing implemented, I know my image can became so much more small than already is.

oscarnevarezleal avatar Dec 01 '22 20:12 oscarnevarezleal