New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia-docker vs nvidia-container-runtime #815

al3x609 opened this Issue Aug 31, 2018 · 1 comment


None yet
2 participants

al3x609 commented Aug 31, 2018

What is the difference between this two projects?

Can I use this for Singularity containers?


This comment has been minimized.


flx42 commented Sep 1, 2018

nvidia-container-runtime is a modified runc with a prestart hook that calls into libnvidia-container. But it is not specific to docker, it can work anywhere an OCI runtime is expected.

The nvidia-docker2 package is tiny, it simply registers this runtime to the docker daemon by adding an entry in /etc/docker/daemon.json.

For Singularity, they now have an integration with libnvidia-container, so you can skip the nvidia-container-runtime and nvidia-docker2 packages altogether.

@flx42 flx42 closed this Sep 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment